fork/rust

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

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

master
1.5 KiB40 linesraw
1error: missing fragment specifier
2  --> $DIR/macro-missing-fragment.rs:4:20
3   |
4LL |     ( $( any_token $field_rust_type )* ) => {};
5   |                    ^^^^^^^^^^^^^^^^
6
7warning: missing fragment specifier
8  --> $DIR/macro-missing-fragment.rs:4:20
9   |
10LL |     ( $( any_token $field_rust_type )* ) => {};
11   |                    ^^^^^^^^^^^^^^^^
12   |
13   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
14   = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
15note: the lint level is defined here
16  --> $DIR/macro-missing-fragment.rs:1:9
17   |
18LL | #![warn(missing_fragment_specifier)]
19   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21warning: missing fragment specifier
22  --> $DIR/macro-missing-fragment.rs:12:7
23   |
24LL |     ( $name ) => {};
25   |       ^^^^^
26   |
27   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
28   = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
29
30warning: missing fragment specifier
31  --> $DIR/macro-missing-fragment.rs:18:7
32   |
33LL |     ( $name ) => {};
34   |       ^^^^^
35   |
36   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
37   = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
38
39error: aborting due to previous error; 3 warnings emitted
40