11error: missing fragment specifier
2- --> $DIR/macro-missing-fragment.rs:4 :20
2+ --> $DIR/macro-missing-fragment.rs:9 :20
33 |
44LL | ( $( any_token $field_rust_type )* ) => {};
55 | ^^^^^^^^^^^^^^^^
66
77warning: missing fragment specifier
8- --> $DIR/macro-missing-fragment.rs:4 :20
8+ --> $DIR/macro-missing-fragment.rs:9 :20
99 |
1010LL | ( $( any_token $field_rust_type )* ) => {};
1111 | ^^^^^^^^^^^^^^^^
1212 |
1313 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1414 = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
1515note: the lint level is defined here
16- --> $DIR/macro-missing-fragment.rs:1 :9
16+ --> $DIR/macro-missing-fragment.rs:6 :9
1717 |
1818LL | #![warn(missing_fragment_specifier)]
1919 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2020
2121warning: missing fragment specifier
22- --> $DIR/macro-missing-fragment.rs:12 :7
22+ --> $DIR/macro-missing-fragment.rs:19 :7
2323 |
2424LL | ( $name ) => {};
2525 | ^^^^^
@@ -28,7 +28,7 @@ LL | ( $name ) => {};
2828 = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
2929
3030warning: missing fragment specifier
31- --> $DIR/macro-missing-fragment.rs:18 :7
31+ --> $DIR/macro-missing-fragment.rs:26 :7
3232 |
3333LL | ( $name ) => {};
3434 | ^^^^^
@@ -40,45 +40,45 @@ error: aborting due to 1 previous error; 3 warnings emitted
4040
4141Future incompatibility report: Future breakage diagnostic:
4242warning: missing fragment specifier
43- --> $DIR/macro-missing-fragment.rs:4 :20
43+ --> $DIR/macro-missing-fragment.rs:9 :20
4444 |
4545LL | ( $( any_token $field_rust_type )* ) => {};
4646 | ^^^^^^^^^^^^^^^^
4747 |
4848 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
4949 = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
5050note: the lint level is defined here
51- --> $DIR/macro-missing-fragment.rs:1 :9
51+ --> $DIR/macro-missing-fragment.rs:6 :9
5252 |
5353LL | #![warn(missing_fragment_specifier)]
5454 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
5555
5656Future breakage diagnostic:
5757warning: missing fragment specifier
58- --> $DIR/macro-missing-fragment.rs:12 :7
58+ --> $DIR/macro-missing-fragment.rs:19 :7
5959 |
6060LL | ( $name ) => {};
6161 | ^^^^^
6262 |
6363 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
6464 = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
6565note: the lint level is defined here
66- --> $DIR/macro-missing-fragment.rs:1 :9
66+ --> $DIR/macro-missing-fragment.rs:6 :9
6767 |
6868LL | #![warn(missing_fragment_specifier)]
6969 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7070
7171Future breakage diagnostic:
7272warning: missing fragment specifier
73- --> $DIR/macro-missing-fragment.rs:18 :7
73+ --> $DIR/macro-missing-fragment.rs:26 :7
7474 |
7575LL | ( $name ) => {};
7676 | ^^^^^
7777 |
7878 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
7979 = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
8080note: the lint level is defined here
81- --> $DIR/macro-missing-fragment.rs:1 :9
81+ --> $DIR/macro-missing-fragment.rs:6 :9
8282 |
8383LL | #![warn(missing_fragment_specifier)]
8484 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments