@@ -43,3 +43,57 @@ LL | #[allow(nonstandard_style)]
4343
4444error: aborting due to 3 previous errors
4545
46+ Future incompatibility report: Future breakage diagnostic:
47+ error: allow(nonstandard_style) incompatible with previous forbid
48+ --> $DIR/forbid-group-group-2.rs:7:9
49+ |
50+ LL | #![forbid(warnings)]
51+ | -------- `forbid` level set here
52+ ...
53+ LL | #[allow(nonstandard_style)]
54+ | ^^^^^^^^^^^^^^^^^ overruled by previous forbid
55+ |
56+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
57+ = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
58+ note: the lint level is defined here
59+ --> $DIR/forbid-group-group-2.rs:5:9
60+ |
61+ LL | #![deny(forbidden_lint_groups)]
62+ | ^^^^^^^^^^^^^^^^^^^^^
63+
64+ Future breakage diagnostic:
65+ error: allow(nonstandard_style) incompatible with previous forbid
66+ --> $DIR/forbid-group-group-2.rs:7:9
67+ |
68+ LL | #![forbid(warnings)]
69+ | -------- `forbid` level set here
70+ ...
71+ LL | #[allow(nonstandard_style)]
72+ | ^^^^^^^^^^^^^^^^^ overruled by previous forbid
73+ |
74+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
75+ = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
76+ note: the lint level is defined here
77+ --> $DIR/forbid-group-group-2.rs:5:9
78+ |
79+ LL | #![deny(forbidden_lint_groups)]
80+ | ^^^^^^^^^^^^^^^^^^^^^
81+
82+ Future breakage diagnostic:
83+ error: allow(nonstandard_style) incompatible with previous forbid
84+ --> $DIR/forbid-group-group-2.rs:7:9
85+ |
86+ LL | #![forbid(warnings)]
87+ | -------- `forbid` level set here
88+ ...
89+ LL | #[allow(nonstandard_style)]
90+ | ^^^^^^^^^^^^^^^^^ overruled by previous forbid
91+ |
92+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
93+ = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
94+ note: the lint level is defined here
95+ --> $DIR/forbid-group-group-2.rs:5:9
96+ |
97+ LL | #![deny(forbidden_lint_groups)]
98+ | ^^^^^^^^^^^^^^^^^^^^^
99+
0 commit comments