1 warning: prefix `z` is unknown
2 --> $DIR/reserved-prefixes-migration.rs:16:9
7 note: the lint level is defined here
8 --> $DIR/reserved-prefixes-migration.rs:5:9
10 LL | #![warn(rust_2021_prefixes_incompatible_syntax)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
13 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
14 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
20 warning: prefix `prefix` is unknown
21 --> $DIR/reserved-prefixes-migration.rs:19:9
23 LL | m2!(prefix"hey");
24 | ^^^^^^ unknown prefix
26 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
27 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
28 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
30 LL - m2!(prefix"hey");
31 LL + m2!(prefix "hey");
34 warning: prefix `hey` is unknown
35 --> $DIR/reserved-prefixes-migration.rs:22:9
40 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
41 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
42 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
48 warning: prefix `hey` is unknown
49 --> $DIR/reserved-prefixes-migration.rs:25:9
54 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
55 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
56 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
62 warning: prefix `kind` is unknown
63 --> $DIR/reserved-prefixes-migration.rs:35:14
65 LL | #name = #kind#value
68 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
69 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
70 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
72 LL - #name = #kind#value
73 LL + #name = #kind #value
76 warning: 5 warnings emitted