2018-07-14 09:40:17 -05:00
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-08-09 15:51:12 -05:00
|
|
|
--> $DIR/async-ident.rs:17:4
|
2018-07-14 09:40:17 -05:00
|
|
|
|
|
|
|
|
LL | fn async() {} //~ ERROR async
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
2018-07-18 03:55:41 -05:00
|
|
|
note: lint level defined here
|
2018-08-09 15:51:12 -05:00
|
|
|
--> $DIR/async-ident.rs:12:9
|
2018-07-18 03:55:41 -05:00
|
|
|
|
|
2018-08-24 15:48:20 -05:00
|
|
|
LL | #![deny(keyword_idents)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
2018-07-17 12:56:41 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2018-07-14 09:40:17 -05:00
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-08-09 15:51:12 -05:00
|
|
|
--> $DIR/async-ident.rs:22:7
|
2018-07-14 09:40:17 -05:00
|
|
|
|
|
|
|
|
LL | ($async:expr, async) => {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2018-07-14 09:40:17 -05:00
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
2018-08-09 15:51:12 -05:00
|
|
|
--> $DIR/async-ident.rs:22:19
|
2018-07-14 09:40:17 -05:00
|
|
|
|
|
|
|
|
LL | ($async:expr, async) => {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:29:6
|
|
|
|
|
|
|
|
|
LL | foo!(async);
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `async` is a keyword in the 2018 edition
|
|
|
|
--> $DIR/async-ident.rs:38:11
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | trait async {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:42:10
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | impl async for MyStruct {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:48:12
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | static async: u32 = 0;
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:54:11
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | const async: u32 = 0;
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:60:15
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | impl Foo { fn async() {} }
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:65:12
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | struct async {}
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:68:9
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:68:16
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:68:24
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | let async: async = async {};
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:79:19
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | () => (pub fn async() {})
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= 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-09-11 07:56:59 -05:00
|
|
|
--> $DIR/async-ident.rs:86:6
|
2018-07-17 12:56:41 -05:00
|
|
|
|
|
|
|
|
LL | (async) => (1)
|
|
|
|
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2018-07-14 09:40:17 -05:00
|
|
|
|
2018-09-11 07:56:59 -05:00
|
|
|
error: aborting due to 15 previous errors
|
2018-07-14 09:40:17 -05:00
|
|
|
|