diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-04-15 14:20:40 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-04-15 14:20:40 +0200 |
| commit | 0fcdefb5592207c328a5d8a5f3496121e170d9c0 (patch) | |
| tree | e75a1097042e78658bc7c70d6127db557d2ebe24 /src/librustc_error_codes/error_codes | |
| parent | 167510f776891f2b0b18d1168ed42377a63493a7 (diff) | |
| download | rust-0fcdefb5592207c328a5d8a5f3496121e170d9c0.tar.gz rust-0fcdefb5592207c328a5d8a5f3496121e170d9c0.zip | |
Clean up E0518 explanation
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)] |
