fork/rust

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

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

1.40.0
667 B21 linesraw
1warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
2  --> $DIR/lint-plugin-cmdline-allow.rs:8:1
3   |
4LL | #![plugin(lint_plugin_test)]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
6   |
7   = note: `#[warn(deprecated)]` on by default
8
9warning: function is never used: `lintme`
10  --> $DIR/lint-plugin-cmdline-allow.rs:10:1
11   |
12LL | fn lintme() { }
13   | ^^^^^^^^^^^
14   |
15note: lint level defined here
16  --> $DIR/lint-plugin-cmdline-allow.rs:7:9
17   |
18LL | #![warn(unused)]
19   |         ^^^^^^
20   = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
21