fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
906 B27 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
9warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
10  --> $DIR/lint-plugin-forbid-cmdline.rs:6:1
11   |
12LL | #![plugin(lint_plugin_test)]
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
14   |
15   = note: `#[warn(deprecated)]` on by default
16
17error: item is named 'lintme'
18  --> $DIR/lint-plugin-forbid-cmdline.rs:8:1
19   |
20LL | fn lintme() { }
21   | ^^^^^^^^^^^^^^^
22   |
23   = note: requested on the command line with `-F test-lint`
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0453`.