]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui-fulldeps / lint-plugin-forbid-attrs.stderr
1 error[E0453]: allow(test_lint) incompatible with previous forbid
2   --> $DIR/lint-plugin-forbid-attrs.rs:11: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[E0453]: allow(test_lint) incompatible with previous forbid
11   --> $DIR/lint-plugin-forbid-attrs.rs:11:9
12    |
13 LL | #![forbid(test_lint)]
14    |           --------- `forbid` level set here
15 ...
16 LL | #[allow(test_lint)]
17    |         ^^^^^^^^^ overruled by previous forbid
18
19 warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
20   --> $DIR/lint-plugin-forbid-attrs.rs:5:1
21    |
22 LL | #![plugin(lint_plugin_test)]
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
24    |
25    = note: `#[warn(deprecated)]` on by default
26
27 error: item is named 'lintme'
28   --> $DIR/lint-plugin-forbid-attrs.rs:9:1
29    |
30 LL | fn lintme() {}
31    | ^^^^^^^^^^^^^^
32    |
33 note: the lint level is defined here
34   --> $DIR/lint-plugin-forbid-attrs.rs:7:11
35    |
36 LL | #![forbid(test_lint)]
37    |           ^^^^^^^^^
38
39 error[E0453]: allow(test_lint) incompatible with previous forbid
40   --> $DIR/lint-plugin-forbid-attrs.rs:11:9
41    |
42 LL | #![forbid(test_lint)]
43    |           --------- `forbid` level set here
44 ...
45 LL | #[allow(test_lint)]
46    |         ^^^^^^^^^ overruled by previous forbid
47
48 error: aborting due to 4 previous errors; 1 warning emitted
49
50 For more information about this error, try `rustc --explain E0453`.