1- error: missing fragment specifier
2- --> $DIR/future-incompatible-lint-group.rs:6:19
3- |
4- LL | macro_rules! m { ($i) => {} }
5- | ^^
6- |
7- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8- = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
9- note: the lint level is defined here
10- --> $DIR/future-incompatible-lint-group.rs:3:9
11- |
12- LL | #![deny(future_incompatible)]
13- | ^^^^^^^^^^^^^^^^^^^
14- = note: `#[deny(missing_fragment_specifier)]` implied by `#[deny(future_incompatible)]`
15-
161warning: anonymous parameters are deprecated and will be removed in the next edition
17- --> $DIR/future-incompatible-lint-group.rs:11 :10
2+ --> $DIR/future-incompatible-lint-group.rs:23 :10
183 |
194LL | fn f(u8) {}
205 | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8`
@@ -23,21 +8,30 @@ LL | fn f(u8) {}
238 = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
249 = note: `#[warn(anonymous_parameters)]` on by default
2510
26- error: aborting due to 1 previous error; 1 warning emitted
27-
28- Future incompatibility report: Future breakage diagnostic:
29- error: missing fragment specifier
30- --> $DIR/future-incompatible-lint-group.rs:6:19
11+ error: ambiguous associated item
12+ --> $DIR/future-incompatible-lint-group.rs:16:17
3113 |
32- LL | macro_rules! m { ($i) => {} }
33- | ^^
14+ LL | fn foo() -> Self::V { 0 }
15+ | ^^^^^^^ help: use fully-qualified syntax: `<E as Tr1>::V`
3416 |
3517 = 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 #40107 <https://github.com/rust-lang/rust/issues/40107>
18+ = note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
19+ note: `V` could refer to the variant defined here
20+ --> $DIR/future-incompatible-lint-group.rs:5:10
21+ |
22+ LL | enum E { V }
23+ | ^
24+ note: `V` could also refer to the associated type defined here
25+ --> $DIR/future-incompatible-lint-group.rs:8:5
26+ |
27+ LL | type V;
28+ | ^^^^^^
3729note: the lint level is defined here
3830 --> $DIR/future-incompatible-lint-group.rs:3:9
3931 |
4032LL | #![deny(future_incompatible)]
4133 | ^^^^^^^^^^^^^^^^^^^
42- = note: `#[deny(missing_fragment_specifier)]` implied by `#[deny(future_incompatible)]`
34+ = note: `#[deny(ambiguous_associated_items)]` implied by `#[deny(future_incompatible)]`
35+
36+ error: aborting due to 1 previous error; 1 warning emitted
4337
0 commit comments