1 warning: prefix `z` is unknown
2 --> $DIR/reserved-prefixes-migration.rs:16:9
7 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
8 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
9 note: the lint level is defined here
10 --> $DIR/reserved-prefixes-migration.rs:5:9
12 LL | #![warn(rust_2021_prefixes_incompatible_syntax)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
19 warning: prefix `prefix` is unknown
20 --> $DIR/reserved-prefixes-migration.rs:19:9
22 LL | m2!(prefix"hey");
23 | ^^^^^^ unknown prefix
25 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
26 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
27 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
29 LL | m2!(prefix "hey");
32 warning: prefix `hey` is unknown
33 --> $DIR/reserved-prefixes-migration.rs:22:9
38 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
39 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
40 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
45 warning: prefix `hey` is unknown
46 --> $DIR/reserved-prefixes-migration.rs:25:9
51 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
52 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
53 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
58 warning: prefix `kind` is unknown
59 --> $DIR/reserved-prefixes-migration.rs:35:14
61 LL | #name = #kind#value
64 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
65 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/reserving-syntax.html>
66 help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021
68 LL | #name = #kind #value
71 warning: 5 warnings emitted