fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.3 KiB41 linesraw
1error[E0453]: allow(test_lint) incompatible with previous forbid
2  --> $DIR/lint-plugin-forbid-attrs.rs:11:9
3   |
4LL | #![forbid(test_lint)]
5   |           --------- `forbid` level set here
6...
7LL | #[allow(test_lint)]
8   |         ^^^^^^^^^ overruled by previous forbid
9
10error: item is named 'lintme'
11  --> $DIR/lint-plugin-forbid-attrs.rs:9:1
12   |
13LL | fn lintme() {}
14   | ^^^^^^^^^^^^^^
15   |
16note: the lint level is defined here
17  --> $DIR/lint-plugin-forbid-attrs.rs:7:11
18   |
19LL | #![forbid(test_lint)]
20   |           ^^^^^^^^^
21
22error[E0453]: allow(test_lint) incompatible with previous forbid
23  --> $DIR/lint-plugin-forbid-attrs.rs:11:9
24   |
25LL | #![forbid(test_lint)]
26   |           --------- `forbid` level set here
27...
28LL | #[allow(test_lint)]
29   |         ^^^^^^^^^ overruled by previous forbid
30
31warning: 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   |
34LL | #![plugin(lint_plugin_test)]
35   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
36   |
37   = note: `#[warn(deprecated)]` on by default
38
39error: aborting due to 3 previous errors; 1 warning emitted
40
41For more information about this error, try `rustc --explain E0453`.