From 472843834491b28b8dda558c50da2763574b4839 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 11 Jul 2020 17:34:11 +0200 Subject: [PATCH] Improve wording --- src/librustc_error_codes/error_codes/E0718.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: