|
| 1 | +warning: prefix `z` is unknown |
| 2 | + --> $DIR/reserved-prefixes-migration.rs:16:9 |
| 3 | + | |
| 4 | +LL | m2!(z"hey"); |
| 5 | + | ^ unknown prefix |
| 6 | + | |
| 7 | +note: the lint level is defined here |
| 8 | + --> $DIR/reserved-prefixes-migration.rs:5:9 |
| 9 | + | |
| 10 | +LL | #![warn(reserved_prefix)] |
| 11 | + | ^^^^^^^^^^^^^^^ |
| 12 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! |
| 13 | + = note: for more information, see issue #84978 <https://github.com/rust-lang/rust/issues/84978> |
| 14 | +help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 |
| 15 | + | |
| 16 | +LL | m2!(z "hey"); |
| 17 | + | -- |
| 18 | + |
| 19 | +warning: prefix `prefix` is unknown |
| 20 | + --> $DIR/reserved-prefixes-migration.rs:19:9 |
| 21 | + | |
| 22 | +LL | m2!(prefix"hey"); |
| 23 | + | ^^^^^^ unknown prefix |
| 24 | + | |
| 25 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! |
| 26 | + = note: for more information, see issue #84978 <https://github.com/rust-lang/rust/issues/84978> |
| 27 | +help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 |
| 28 | + | |
| 29 | +LL | m2!(prefix "hey"); |
| 30 | + | -- |
| 31 | + |
| 32 | +warning: prefix `hey` is unknown |
| 33 | + --> $DIR/reserved-prefixes-migration.rs:22:9 |
| 34 | + | |
| 35 | +LL | m3!(hey#123); |
| 36 | + | ^^^ unknown prefix |
| 37 | + | |
| 38 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! |
| 39 | + = note: for more information, see issue #84978 <https://github.com/rust-lang/rust/issues/84978> |
| 40 | +help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 |
| 41 | + | |
| 42 | +LL | m3!(hey #123); |
| 43 | + | -- |
| 44 | + |
| 45 | +warning: prefix `hey` is unknown |
| 46 | + --> $DIR/reserved-prefixes-migration.rs:25:9 |
| 47 | + | |
| 48 | +LL | m3!(hey#hey); |
| 49 | + | ^^^ unknown prefix |
| 50 | + | |
| 51 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! |
| 52 | + = note: for more information, see issue #84978 <https://github.com/rust-lang/rust/issues/84978> |
| 53 | +help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 |
| 54 | + | |
| 55 | +LL | m3!(hey #hey); |
| 56 | + | -- |
| 57 | + |
| 58 | +warning: 4 warnings emitted |
| 59 | + |
0 commit comments