1 error: deny(unused) incompatible with previous forbid
2 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
4 LL | #![forbid(unused)]
5 | ------ `forbid` level set here
7 | ^^^^^^ overruled by previous forbid
9 note: the lint level is defined here
10 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
12 LL | #![forbid(forbidden_lint_groups)]
13 | ^^^^^^^^^^^^^^^^^^^^^
14 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
15 = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
17 error: deny(unused) incompatible with previous forbid
18 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
20 LL | #![forbid(unused)]
21 | ------ `forbid` level set here
23 | ^^^^^^ overruled by previous forbid
25 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
26 = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
28 error: aborting due to 2 previous errors