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 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
10 = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
11 note: the lint level is defined here
12 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
14 LL | #![forbid(forbidden_lint_groups)]
15 | ^^^^^^^^^^^^^^^^^^^^^
17 error: aborting due to previous error