mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
12 lines
264 B
Rust
12 lines
264 B
Rust
//@ edition:2015
|
|
|
|
#![deny(rust_2018_compatibility)]
|
|
|
|
// Don't make a suggestion for a raw identifier replacement unless raw
|
|
// identifiers are enabled.
|
|
|
|
fn main() {
|
|
let async = 3; //~ ERROR: is a keyword
|
|
//~^ WARN this is accepted in the current edition
|
|
}
|