Clean up E0518 explanation

This commit is contained in:
Guillaume Gomez 2020-04-15 14:20:40 +02:00
parent 167510f776
commit 0fcdefb559

View File

@ -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)]