Skip to content

Commit

Permalink
Rollup merge of #71166 - GuillaumeGomez:cleanup-e0518, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0518 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Apr 15, 2020
2 parents 905a920 + 0fcdefb commit 41dc51e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_error_codes/error_codes/E0518.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This error indicates that an `#[inline(..)]` attribute was incorrectly placed
on something other than a function or method.
An `#[inline(..)]` attribute was incorrectly placed on something other than a
function or method.

Examples of erroneous code:
Example of erroneous code:

```compile_fail,E0518
#[inline(always)]
Expand Down

0 comments on commit 41dc51e

Please sign in to comment.