rust/src/test/ui/lint/outer-forbid.stderr
Vadim Petrochenkov fa2d9fc4b9 Update UI tests
2018-02-26 20:24:02 +03:00

31 lines
1.0 KiB
Plaintext

error[E0453]: allow(unused_variables) overruled by outer forbid(unused)
--> $DIR/outer-forbid.rs:19:9
|
LL | #![forbid(unused, non_snake_case)]
| ------ `forbid` level set here
18 |
LL | #[allow(unused_variables)] //~ ERROR overruled
| ^^^^^^^^^^^^^^^^ overruled by previous forbid
error[E0453]: allow(unused) overruled by outer forbid(unused)
--> $DIR/outer-forbid.rs:22:9
|
LL | #![forbid(unused, non_snake_case)]
| ------ `forbid` level set here
...
LL | #[allow(unused)] //~ ERROR overruled
| ^^^^^^ overruled by previous forbid
error[E0453]: allow(bad_style) overruled by outer forbid(non_snake_case)
--> $DIR/outer-forbid.rs:25:9
|
LL | #![forbid(unused, non_snake_case)]
| -------------- `forbid` level set here
...
LL | #[allow(bad_style)] //~ ERROR overruled
| ^^^^^^^^^ overruled by previous forbid
error: aborting due to 3 previous errors
If you want more information on this error, try using "rustc --explain E0453"