summary refs log tree commit diff
path: root/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr
blob: 11dd75621bf51a13c661186b171313edbcfa35cf (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
error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
  --> $DIR/lint-plugin-forbid-attrs.rs:10:9
   |
LL | #![forbid(test_lint)]
   |           --------- `forbid` level set here
...
LL | #[allow(test_lint)]
   |         ^^^^^^^^^ overruled by previous forbid

error: item is named 'lintme'
  --> $DIR/lint-plugin-forbid-attrs.rs:8:1
   |
LL | fn lintme() { } //~ ERROR item is named 'lintme'
   | ^^^^^^^^^^^^^^^
   |
note: lint level defined here
  --> $DIR/lint-plugin-forbid-attrs.rs:6:11
   |
LL | #![forbid(test_lint)]
   |           ^^^^^^^^^

error: aborting due to 2 previous errors

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