diff options
| author | varkor <github@varkor.com> | 2018-08-02 19:33:24 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-08-05 15:54:49 +0100 |
| commit | c157ec87ed0c565e98c2887a361c1d7517949e1f (patch) | |
| tree | 9ac3f714aa4cb7fff15bd488bf5385b8678b49f2 /src/libsyntax | |
| parent | 5815a8428090a9c85d4efec8bb6ea83b5aa97cf6 (diff) | |
| download | rust-c157ec87ed0c565e98c2887a361c1d7517949e1f.tar.gz rust-c157ec87ed0c565e98c2887a361c1d7517949e1f.zip | |
Fix 2018 edition tests
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 ``` |
