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