diff --git a/src/librustc_error_codes/error_codes/E0718.md b/src/librustc_error_codes/error_codes/E0718.md index bb401ef6e2d..1fe62ecf1f4 100644 --- a/src/librustc_error_codes/error_codes/E0718.md +++ b/src/librustc_error_codes/error_codes/E0718.md @@ -1,4 +1,4 @@ -A `#[lang = ".."]` attribute was placed on the wrong type of item. +A `#[lang = ".."]` attribute was placed on the wrong item type. Erroneous code example: