fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.8 KiB56 linesraw
1warning: meta-variable repeats with different Kleene operator
2  --> $DIR/expansion-time.rs:5:29
3   |
4LL |     ( $($i:ident)* ) => { $($i)+ };
5   |                  -          ^^ - conflicting repetition
6   |                  |
7   |                  expected repetition
8   |
9note: the lint level is defined here
10  --> $DIR/expansion-time.rs:3:8
11   |
12LL | #[warn(meta_variable_misuse)]
13   |        ^^^^^^^^^^^^^^^^^^^^
14
15warning: missing fragment specifier
16  --> $DIR/expansion-time.rs:9:19
17   |
18LL | 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>
23note: the lint level is defined here
24  --> $DIR/expansion-time.rs:8:8
25   |
26LL | #[warn(missing_fragment_specifier)]
27   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
28
29warning: 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   |
32LL |     #[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>
37note: the lint level is defined here
38  --> $DIR/expansion-time.rs:12:8
39   |
40LL | #[warn(soft_unstable)]
41   |        ^^^^^^^^^^^^^
42
43warning: include macro expected single expression in source
44  --> $DIR/expansion-time-include.rs:4:1
45   |
46LL | 2
47   | ^
48   |
49note: the lint level is defined here
50  --> $DIR/expansion-time.rs:29:8
51   |
52LL | #[warn(incomplete_include)]
53   |        ^^^^^^^^^^^^^^^^^^
54
55warning: 4 warnings emitted
56