summary refs log tree commit diff
path: root/src/test/ui/lint/outer-forbid.stderr
blob: 57ad55a37f0501c4ad55253216992062b736803d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
  --> $DIR/outer-forbid.rs:9:9
   |
LL | #![forbid(unused, non_snake_case)]
   |           ------ `forbid` level set here
LL | 
LL | #[allow(unused_variables)] //~ ERROR overruled
   |         ^^^^^^^^^^^^^^^^ overruled by previous forbid

error[E0453]: allow(unused) overruled by outer forbid(unused)
  --> $DIR/outer-forbid.rs:12:9
   |
LL | #![forbid(unused, non_snake_case)]
   |           ------ `forbid` level set here
...
LL | #[allow(unused)] //~ ERROR overruled
   |         ^^^^^^ overruled by previous forbid

error[E0453]: allow(nonstandard_style) overruled by outer forbid(non_snake_case)
  --> $DIR/outer-forbid.rs:15:9
   |
LL | #![forbid(unused, non_snake_case)]
   |                   -------------- `forbid` level set here
...
LL | #[allow(nonstandard_style)] //~ ERROR overruled
   |         ^^^^^^^^^^^^^^^^^ overruled by previous forbid

error: aborting due to 3 previous errors

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