fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
665 B25 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: item is named 'lintme'
6  --> $DIR/lint-tool-cmdline-allow.rs:10:1
7   |
8LL | fn lintme() {}
9   | ^^^^^^^^^^^^^^
10   |
11   = note: `#[warn(clippy::test_lint)]` on by default
12
13warning: function is never used: `lintme`
14  --> $DIR/lint-tool-cmdline-allow.rs:10:1
15   |
16LL | fn lintme() {}
17   | ^^^^^^^^^^^
18   |
19note: lint level defined here
20  --> $DIR/lint-tool-cmdline-allow.rs:7:9
21   |
22LL | #![warn(unused)]
23   |         ^^^^^^
24   = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
25