diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-16 00:39:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 00:39:27 +0200 |
| commit | 41dc51ead81c99764ee82a58fab1328e74fb4f08 (patch) | |
| tree | beba1b069652602ea9d39957d3b753ba6d071f61 /src/librustc_error_codes/error_codes | |
| parent | 905a92031371629d28f02bc5eb04415c627c4c9f (diff) | |
| parent | 0fcdefb5592207c328a5d8a5f3496121e170d9c0 (diff) | |
Rollup merge of #71166 - GuillaumeGomez:cleanup-e0518, r=Dylan-DPC
Clean up E0518 explanation r? @Dylan-DPC
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0518.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_error_codes/error_codes/E0518.md b/src/librustc_error_codes/error_codes/E0518.md index 1af9a3735fe..f04329bc4e6 100644 --- a/src/librustc_error_codes/error_codes/E0518.md +++ b/src/librustc_error_codes/error_codes/E0518.md @@ -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)] |
