summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/forbid-member-group.stderr
blob: e65301778332a2a104b4f0648cee286444dc18d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0453]: allow(unused) incompatible with previous forbid
  --> $DIR/forbid-member-group.rs:6:9
   |
LL | #![forbid(unused_variables)]
   |           ---------------- `forbid` level set here
LL |
LL | #[allow(unused)]
   |         ^^^^^^ overruled by previous forbid

error[E0453]: allow(unused) incompatible with previous forbid
  --> $DIR/forbid-member-group.rs:6:9
   |
LL | #![forbid(unused_variables)]
   |           ---------------- `forbid` level set here
LL |
LL | #[allow(unused)]
   |         ^^^^^^ overruled by previous forbid

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0453`.