2018-07-14 14:40:17 +00:00
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:7:4
|
2018-07-14 14:40:17 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | fn async() {}
|
2018-07-14 14:40:17 +00:00
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2022-09-18 15:55:36 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:2:9
|
2018-07-18 08:55:41 +00:00
|
|
|
|
|
2018-08-24 20:48:20 +00:00
|
|
|
LL | #![deny(keyword_idents)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
2018-07-14 14:40:17 +00:00
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:12:7
|
2018-07-14 14:40:17 +00:00
|
|
|
|
|
|
|
|
LL | ($async:expr, async) => {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2018-07-14 14:40:17 +00:00
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:12:19
|
2018-07-14 14:40:17 +00:00
|
|
|
|
|
|
|
|
LL | ($async:expr, async) => {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:19:6
|
2018-09-11 12:56:59 +00:00
|
|
|
|
|
|
|
|
LL | foo!(async);
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-09-11 12:56:59 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:28:11
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | trait async {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:32:10
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | impl async for MyStruct {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:38:12
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | static async: u32 = 0;
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:44:11
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | const async: u32 = 0;
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:50:15
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | impl Foo { fn async() {} }
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:55:12
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | struct async {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:58:9
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:58:16
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:58:24
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:69:19
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | () => (pub fn async() {})
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/async-ident.rs:76:6
|
2018-07-17 17:56:41 +00:00
|
|
|
|
|
|
|
|
LL | (async) => (1)
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2018-07-17 17:56:41 +00:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2018-07-14 14:40:17 +00:00
|
|
|
|
2018-09-11 12:56:59 +00:00
|
|
|
error: aborting due to 15 previous errors
|
2018-07-14 14:40:17 +00:00
|
|
|
|