From 00980b6ccda5ca6d8039cd493a7aa7f487c47c0d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 7 Jul 2020 14:13:03 +0200 Subject: [PATCH] clean up E0718 explanation --- src/librustc_error_codes/error_codes/E0718.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/librustc_error_codes/error_codes/E0718.md b/src/librustc_error_codes/error_codes/E0718.md index e7ae51ca5883..bb401ef6e2d4 100644 --- a/src/librustc_error_codes/error_codes/E0718.md +++ b/src/librustc_error_codes/error_codes/E0718.md @@ -1,7 +1,6 @@ -This error indicates that a `#[lang = ".."]` attribute was placed -on the wrong type of item. +A `#[lang = ".."]` attribute was placed on the wrong type of item. -Examples of erroneous code: +Erroneous code example: ```compile_fail,E0718 #![feature(lang_items)]