blob: 479e7b9412d5757b3bae01a9917df51befe14dc6 [file] [log] [blame]
warning: allow(unused) incompatible with previous forbid
--> $DIR/forbid-error-capped.rs:8:10
|
LL | #![forbid(warnings)]
| -------- `forbid` level set here
LL | #![allow(unused)]
| ^^^^^^ overruled by previous forbid
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
= note: `#[warn(forbidden_lint_groups)]` (part of `#[warn(future_incompatible)]`) on by default
warning: 1 warning emitted
Future incompatibility report: Future breakage diagnostic:
warning: allow(unused) incompatible with previous forbid
--> $DIR/forbid-error-capped.rs:8:10
|
LL | #![forbid(warnings)]
| -------- `forbid` level set here
LL | #![allow(unused)]
| ^^^^^^ overruled by previous forbid
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
= note: `#[warn(forbidden_lint_groups)]` (part of `#[warn(future_incompatible)]`) on by default