fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: prefix `z` is unknown 2 --> $DIR/reserved-prefixes-migration.rs:16:9 3 | 4LL | m2!(z"hey"); 5 | ^ unknown prefix 6 | 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> 9note: the lint level is defined here 10 --> $DIR/reserved-prefixes-migration.rs:5:9 11 | 12LL | #![warn(rust_2021_prefixes_incompatible_syntax)] 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 15 | 16LL | m2!(z "hey"); 17 | + 18 19warning: prefix `prefix` is unknown 20 --> $DIR/reserved-prefixes-migration.rs:19:9 21 | 22LL | m2!(prefix"hey"); 23 | ^^^^^^ unknown prefix 24 | 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> 27help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 28 | 29LL | m2!(prefix "hey"); 30 | + 31 32warning: prefix `hey` is unknown 33 --> $DIR/reserved-prefixes-migration.rs:22:9 34 | 35LL | m3!(hey#123); 36 | ^^^ unknown prefix 37 | 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> 40help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 41 | 42LL | m3!(hey #123); 43 | + 44 45warning: prefix `hey` is unknown 46 --> $DIR/reserved-prefixes-migration.rs:25:9 47 | 48LL | m3!(hey#hey); 49 | ^^^ unknown prefix 50 | 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> 53help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 54 | 55LL | m3!(hey #hey); 56 | + 57 58warning: prefix `kind` is unknown 59 --> $DIR/reserved-prefixes-migration.rs:35:14 60 | 61LL | #name = #kind#value 62 | ^^^^ unknown prefix 63 | 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> 66help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 67 | 68LL | #name = #kind #value 69 | + 70 71warning: 5 warnings emitted 72