fork/rust

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

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

1.40.0
1008 B33 linesraw
1warning: lint name `test_lint` is deprecated and does not have an effect anymore. Use: clippy::test_lint
2   |
3   = note: requested on the command line with `-A test_lint`
4
5warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
6  --> $DIR/lint-tool-cmdline-allow.rs:8:1
7   |
8LL | #![plugin(lint_tool_test)]
9   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
10   |
11   = note: `#[warn(deprecated)]` on by default
12
13warning: item is named 'lintme'
14  --> $DIR/lint-tool-cmdline-allow.rs:10:1
15   |
16LL | fn lintme() {}
17   | ^^^^^^^^^^^^^^
18   |
19   = note: `#[warn(clippy::test_lint)]` on by default
20
21warning: function is never used: `lintme`
22  --> $DIR/lint-tool-cmdline-allow.rs:10:1
23   |
24LL | fn lintme() {}
25   | ^^^^^^^^^^^
26   |
27note: lint level defined here
28  --> $DIR/lint-tool-cmdline-allow.rs:7:9
29   |
30LL | #![warn(unused)]
31   |         ^^^^^^
32   = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
33