rust/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr

25 lines
677 B
Plaintext
Raw Normal View History

2018-07-14 16:40:17 +02:00
error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
--> $DIR/lint-plugin-forbid-attrs.rs:20:9
|
LL | #![forbid(test_lint)]
| --------- `forbid` level set here
...
LL | #[allow(test_lint)]
| ^^^^^^^^^ overruled by previous forbid
2017-12-11 00:00:10 +03:00
error: item is named 'lintme'
--> $DIR/lint-plugin-forbid-attrs.rs:18:1
|
2018-02-23 03:42:32 +03:00
LL | fn lintme() { } //~ ERROR item is named 'lintme'
2017-12-11 00:00:10 +03:00
| ^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/lint-plugin-forbid-attrs.rs:16:11
|
2018-02-23 03:42:32 +03:00
LL | #![forbid(test_lint)]
2017-12-11 00:00:10 +03:00
| ^^^^^^^^^
error: aborting due to 2 previous errors
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0453`.