Skip to content

Commit ce76bcb

Browse files
authored
Rollup merge of #71166 - GuillaumeGomez:cleanup-e0518, r=Dylan-DPC
Clean up E0518 explanation r? @Dylan-DPC
2 parents 97ac87d + 0fcdefb commit ce76bcb

File tree

1 file changed

+3
-3
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-3
lines changed

src/librustc_error_codes/error_codes/E0518.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
This error indicates that an `#[inline(..)]` attribute was incorrectly placed
2-
on something other than a function or method.
1+
An `#[inline(..)]` attribute was incorrectly placed on something other than a
2+
function or method.
33

4-
Examples of erroneous code:
4+
Example of erroneous code:
55

66
```compile_fail,E0518
77
#[inline(always)]

0 commit comments

Comments
 (0)