11error: `async` is a keyword in the 2018 edition
2- --> $DIR/async-ident.rs:7 :4
2+ --> $DIR/async-ident.rs:9 :4
33 |
44LL | fn async() {}
55 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -14,7 +14,7 @@ LL | #![deny(keyword_idents)]
1414 = note: `#[deny(keyword_idents_2018)]` implied by `#[deny(keyword_idents)]`
1515
1616error: `async` is a keyword in the 2018 edition
17- --> $DIR/async-ident.rs:12 :19
17+ --> $DIR/async-ident.rs:14 :19
1818 |
1919LL | ($async:expr, async) => {};
2020 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -23,7 +23,7 @@ LL | ($async:expr, async) => {};
2323 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
2424
2525error: `async` is a keyword in the 2018 edition
26- --> $DIR/async-ident.rs:17 :6
26+ --> $DIR/async-ident.rs:19 :6
2727 |
2828LL | foo!(async);
2929 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -32,7 +32,7 @@ LL | foo!(async);
3232 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
3333
3434error: `async` is a keyword in the 2018 edition
35- --> $DIR/async-ident.rs:26 :11
35+ --> $DIR/async-ident.rs:28 :11
3636 |
3737LL | trait async {}
3838 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -41,7 +41,7 @@ LL | trait async {}
4141 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
4242
4343error: `async` is a keyword in the 2018 edition
44- --> $DIR/async-ident.rs:30 :10
44+ --> $DIR/async-ident.rs:32 :10
4545 |
4646LL | impl async for MyStruct {}
4747 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -50,7 +50,7 @@ LL | impl async for MyStruct {}
5050 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
5151
5252error: `async` is a keyword in the 2018 edition
53- --> $DIR/async-ident.rs:36 :12
53+ --> $DIR/async-ident.rs:38 :12
5454 |
5555LL | static async: u32 = 0;
5656 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -59,7 +59,7 @@ LL | static async: u32 = 0;
5959 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
6060
6161error: `async` is a keyword in the 2018 edition
62- --> $DIR/async-ident.rs:42 :11
62+ --> $DIR/async-ident.rs:44 :11
6363 |
6464LL | const async: u32 = 0;
6565 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -68,7 +68,7 @@ LL | const async: u32 = 0;
6868 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
6969
7070error: `async` is a keyword in the 2018 edition
71- --> $DIR/async-ident.rs:48 :15
71+ --> $DIR/async-ident.rs:50 :15
7272 |
7373LL | impl Foo { fn async() {} }
7474 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -77,7 +77,7 @@ LL | impl Foo { fn async() {} }
7777 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
7878
7979error: `async` is a keyword in the 2018 edition
80- --> $DIR/async-ident.rs:53 :12
80+ --> $DIR/async-ident.rs:55 :12
8181 |
8282LL | struct async {}
8383 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -86,7 +86,7 @@ LL | struct async {}
8686 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
8787
8888error: `async` is a keyword in the 2018 edition
89- --> $DIR/async-ident.rs:56 :9
89+ --> $DIR/async-ident.rs:58 :9
9090 |
9191LL | let async: async = async {};
9292 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -95,7 +95,7 @@ LL | let async: async = async {};
9595 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
9696
9797error: `async` is a keyword in the 2018 edition
98- --> $DIR/async-ident.rs:56 :16
98+ --> $DIR/async-ident.rs:58 :16
9999 |
100100LL | let async: async = async {};
101101 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -104,7 +104,7 @@ LL | let async: async = async {};
104104 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
105105
106106error: `async` is a keyword in the 2018 edition
107- --> $DIR/async-ident.rs:56 :24
107+ --> $DIR/async-ident.rs:58 :24
108108 |
109109LL | let async: async = async {};
110110 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -113,7 +113,7 @@ LL | let async: async = async {};
113113 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
114114
115115error: `async` is a keyword in the 2018 edition
116- --> $DIR/async-ident.rs:67 :19
116+ --> $DIR/async-ident.rs:69 :19
117117 |
118118LL | () => (pub fn async() {})
119119 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
@@ -122,7 +122,7 @@ LL | () => (pub fn async() {})
122122 = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/new-keywords.html>
123123
124124error: `async` is a keyword in the 2018 edition
125- --> $DIR/async-ident.rs:74 :6
125+ --> $DIR/async-ident.rs:76 :6
126126 |
127127LL | (async) => (1)
128128 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
0 commit comments