@@ -38,3 +38,48 @@ LL | ( $name ) => {};
38
38
39
39
error: aborting due to 1 previous error; 3 warnings emitted
40
40
41
+ Future incompatibility report: Future breakage diagnostic:
42
+ warning: missing fragment specifier
43
+ --> $DIR/macro-missing-fragment.rs:4:20
44
+ |
45
+ LL | ( $( any_token $field_rust_type )* ) => {};
46
+ | ^^^^^^^^^^^^^^^^
47
+ |
48
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49
+ = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
50
+ note: the lint level is defined here
51
+ --> $DIR/macro-missing-fragment.rs:1:9
52
+ |
53
+ LL | #![warn(missing_fragment_specifier)]
54
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
55
+
56
+ Future breakage diagnostic:
57
+ warning: missing fragment specifier
58
+ --> $DIR/macro-missing-fragment.rs:12:7
59
+ |
60
+ LL | ( $name ) => {};
61
+ | ^^^^^
62
+ |
63
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
64
+ = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
65
+ note: the lint level is defined here
66
+ --> $DIR/macro-missing-fragment.rs:1:9
67
+ |
68
+ LL | #![warn(missing_fragment_specifier)]
69
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
70
+
71
+ Future breakage diagnostic:
72
+ warning: missing fragment specifier
73
+ --> $DIR/macro-missing-fragment.rs:18:7
74
+ |
75
+ LL | ( $name ) => {};
76
+ | ^^^^^
77
+ |
78
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
79
+ = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
80
+ note: the lint level is defined here
81
+ --> $DIR/macro-missing-fragment.rs:1:9
82
+ |
83
+ LL | #![warn(missing_fragment_specifier)]
84
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
85
+
0 commit comments