syntax: process all edition features before other features.

This commit is contained in:
Eduard-Mihai Burtescu 2018-08-16 02:06:26 +03:00
parent d767ee1161
commit 0f00979517
3 changed files with 44 additions and 20 deletions

View file

@ -10,9 +10,9 @@
// compile-pass
#![feature(rust_2018_preview)]
#![feature(raw_identifiers)]
//~^ WARN the feature `raw_identifiers` is included in the Rust 2018 edition
#![feature(rust_2018_preview)]
fn main() {
let foo = 0;

View file

@ -1,5 +1,5 @@
warning[E0705]: the feature `raw_identifiers` is included in the Rust 2018 edition
--> $DIR/E0705.rs:14:12
--> $DIR/E0705.rs:13:12
|
LL | #![feature(raw_identifiers)]
| ^^^^^^^^^^^^^^^