Skip to content

Commit

Permalink
Rollup merge of rust-lang#71166 - GuillaumeGomez:cleanup-e0518, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0518 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Apr 15, 2020
2 parents 97ac87d + 0fcdefb commit ce76bcb
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 ce76bcb

Please sign in to comment.