]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/expansion-time.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / lint / expansion-time.stderr
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    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22    = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
23 note: the lint level is defined here
24   --> $DIR/expansion-time.rs:8:8
25    |
26 LL | #[warn(missing_fragment_specifier)]
27    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
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    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36    = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
37 note: the lint level is defined here
38   --> $DIR/expansion-time.rs:12:8
39    |
40 LL | #[warn(soft_unstable)]
41    |        ^^^^^^^^^^^^^
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:29:8
51    |
52 LL | #[warn(incomplete_include)]
53    |        ^^^^^^^^^^^^^^^^^^
54
55 warning: 4 warnings emitted
56