]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr
Lint the use of async as an identifier
[rust.git] / src / test / ui-fulldeps / lint-plugin-forbid-attrs.stderr
1 error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
2   --> $DIR/lint-plugin-forbid-attrs.rs:20:9
3    |
4 LL | #![forbid(test_lint)]
5    |           --------- `forbid` level set here
6 ...
7 LL | #[allow(test_lint)]
8    |         ^^^^^^^^^ overruled by previous forbid
9
10 error: item is named 'lintme'
11   --> $DIR/lint-plugin-forbid-attrs.rs:18:1
12    |
13 LL | fn lintme() { } //~ ERROR item is named 'lintme'
14    | ^^^^^^^^^^^^^^^
15    |
16 note: lint level defined here
17   --> $DIR/lint-plugin-forbid-attrs.rs:16:11
18    |
19 LL | #![forbid(test_lint)]
20    |           ^^^^^^^^^
21
22 error: aborting due to 2 previous errors
23
24 For more information about this error, try `rustc --explain E0453`.