|
| 1 | +warning: meta-variable repeats with different Kleene operator |
| 2 | + --> $DIR/expansion-time.rs:5:29 |
| 3 | + | |
| 4 | +LL | ( $($i:ident)* ) => { $($i)+ }; |
| 5 | + | - ^^ - conflicting repetition |
| 6 | + | | |
| 7 | + | expected repetition |
| 8 | + | |
| 9 | +note: the lint level is defined here |
| 10 | + --> $DIR/expansion-time.rs:3:8 |
| 11 | + | |
| 12 | +LL | #[warn(meta_variable_misuse)] |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^ |
| 14 | + |
| 15 | +warning: missing fragment specifier |
| 16 | + --> $DIR/expansion-time.rs:9:19 |
| 17 | + | |
| 18 | +LL | macro_rules! m { ($i) => {} } |
| 19 | + | ^^ |
| 20 | + | |
| 21 | +note: the lint level is defined here |
| 22 | + --> $DIR/expansion-time.rs:8:8 |
| 23 | + | |
| 24 | +LL | #[warn(missing_fragment_specifier)] |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 27 | + = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107> |
| 28 | + |
| 29 | +warning: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable |
| 30 | + --> $DIR/expansion-time.rs:14:7 |
| 31 | + | |
| 32 | +LL | #[bench] |
| 33 | + | ^^^^^ |
| 34 | + | |
| 35 | +note: the lint level is defined here |
| 36 | + --> $DIR/expansion-time.rs:12:8 |
| 37 | + | |
| 38 | +LL | #[warn(soft_unstable)] |
| 39 | + | ^^^^^^^^^^^^^ |
| 40 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 41 | + = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 42 | + |
| 43 | +warning: include macro expected single expression in source |
| 44 | + --> $DIR/expansion-time-include.rs:4:1 |
| 45 | + | |
| 46 | +LL | 2 |
| 47 | + | ^ |
| 48 | + | |
| 49 | +note: the lint level is defined here |
| 50 | + --> $DIR/expansion-time.rs:19:8 |
| 51 | + | |
| 52 | +LL | #[warn(incomplete_include)] |
| 53 | + | ^^^^^^^^^^^^^^^^^^ |
| 54 | + |
| 55 | +warning: 4 warnings emitted |
| 56 | + |
0 commit comments