2018-08-16 10:36:11 +03:00
|
|
|
// edition:2015
|
2018-07-25 17:26:58 -07:00
|
|
|
|
|
|
|
#![deny(rust_2018_compatibility)]
|
|
|
|
|
2018-08-19 15:30:23 +02:00
|
|
|
// Don't make a suggestion for a raw identifier replacement unless raw
|
2018-07-25 17:26:58 -07:00
|
|
|
// identifiers are enabled.
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let async = 3; //~ ERROR: is a keyword
|
|
|
|
//~^ WARN previously accepted
|
|
|
|
}
|