]> git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/macro-missing-fragment.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / macros / macro-missing-fragment.stderr
1 error: missing fragment specifier
2 --> $DIR/macro-missing-fragment.rs:4:20
3 |
4 LL | ( $( any_token $field_rust_type )* ) => {};
5 | ^^^^^^^^^^^^^^^^
6
7 warning: missing fragment specifier
8 --> $DIR/macro-missing-fragment.rs:4:20
9 |
10 LL | ( $( 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>
15 note: the lint level is defined here
16 --> $DIR/macro-missing-fragment.rs:1:9
17 |
18 LL | #![warn(missing_fragment_specifier)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21 warning: missing fragment specifier
22 --> $DIR/macro-missing-fragment.rs:12:7
23 |
24 LL | ( $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
30 warning: missing fragment specifier
31 --> $DIR/macro-missing-fragment.rs:18:7
32 |
33 LL | ( $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
39 error: aborting due to previous error; 3 warnings emitted
40