From c157ec87ed0c565e98c2887a361c1d7517949e1f Mon Sep 17 00:00:00 2001 From: varkor Date: Thu, 2 Aug 2018 19:33:24 +0100 Subject: Fix 2018 edition tests --- src/libsyntax/diagnostic_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs index bfbe9ef1fee..91265623270 100644 --- a/src/libsyntax/diagnostic_list.rs +++ b/src/libsyntax/diagnostic_list.rs @@ -381,7 +381,7 @@ the current edition. Erroneous code example: ```compile_fail,E0705 -#![allow(rust_2018_preview)] +#![feature(rust_2018_preview)] #![feature(raw_identifiers)] // error: the feature `raw_identifiers` is // included in the Rust 2018 edition ``` -- cgit 1.4.1-3-g733a5