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

20 lines
654 B
Plaintext
Raw Normal View History

error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
--> $DIR/lint-plugin-forbid-cmdline.rs:20:9
|
LL | #[allow(test_lint)] //~ ERROR allow(test_lint) overruled by outer forbid(test_lint)
| ^^^^^^^^^ overruled by previous forbid
|
= note: `forbid` lint level was set on command line
error: item is named 'lintme'
--> $DIR/lint-plugin-forbid-cmdline.rs:18:1
|
LL | fn lintme() { } //~ ERROR item is named 'lintme'
| ^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-F test-lint`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0453`.