Rollup merge of #71166 - GuillaumeGomez:cleanup-e0518, r=Dylan-DPC

Clean up E0518 explanation

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-04-16 00:39:27 +02:00 committed by GitHub
commit 41dc51ead8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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