syntax: process all edition features before other features.
This commit is contained in:
parent
d767ee1161
commit
0f00979517
3 changed files with 44 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue