fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.4 KiB43 linesraw
1error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
2  --> $DIR/lint-plugin-forbid-cmdline.rs:10:9
3   |
4LL | #[allow(test_lint)]
5   |         ^^^^^^^^^ overruled by previous forbid
6   |
7   = note: `forbid` lint level was set on command line
8
9error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
10  --> $DIR/lint-plugin-forbid-cmdline.rs:10:9
11   |
12LL | #[allow(test_lint)]
13   |         ^^^^^^^^^ overruled by previous forbid
14   |
15   = note: `forbid` lint level was set on command line
16
17warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
18  --> $DIR/lint-plugin-forbid-cmdline.rs:6:1
19   |
20LL | #![plugin(lint_plugin_test)]
21   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
22   |
23   = note: `#[warn(deprecated)]` on by default
24
25error: item is named 'lintme'
26  --> $DIR/lint-plugin-forbid-cmdline.rs:8:1
27   |
28LL | fn lintme() { }
29   | ^^^^^^^^^^^^^^^
30   |
31   = note: requested on the command line with `-F test-lint`
32
33error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
34  --> $DIR/lint-plugin-forbid-cmdline.rs:10:9
35   |
36LL | #[allow(test_lint)]
37   |         ^^^^^^^^^ overruled by previous forbid
38   |
39   = note: `forbid` lint level was set on command line
40
41error: aborting due to 4 previous errors
42
43For more information about this error, try `rustc --explain E0453`.