summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-70819-dont-override-forbid-in-same-scope.stderr
blob: 5093715decfc1925e96768f19644de41d785fe20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: deny(unused) incompatible with previous forbid
  --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
   |
LL |     #![forbid(unused)]
   |               ------ `forbid` level set here
LL |     #![deny(unused)]
   |             ^^^^^^ overruled by previous forbid
   |
note: the lint level is defined here
  --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
   |
LL | #![forbid(forbidden_lint_groups)]
   |           ^^^^^^^^^^^^^^^^^^^^^
   = 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>

error: aborting due to previous error