fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: deny(unused) incompatible with previous forbid 2 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13 3 | 4LL | #![forbid(unused)] 5 | ------ `forbid` level set here 6LL | #![deny(unused)] 7 | ^^^^^^ overruled by previous forbid 8 | 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> 11note: the lint level is defined here 12 --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11 13 | 14LL | #![forbid(forbidden_lint_groups)] 15 | ^^^^^^^^^^^^^^^^^^^^^ 16 17error: aborting due to previous error 18