fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1warning: lint name `test_lint` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore 2 --> $DIR/lint-tool-test.rs:8:23 3 | 4LL | #![cfg_attr(foo, warn(test_lint))] 5 | ^^^^^^^^^ help: change it to: `clippy::test_lint` 6 | 7 = note: `#[warn(renamed_and_removed_lints)]` on by default 8 9warning: lint name `clippy_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore 10 --> $DIR/lint-tool-test.rs:11:9 11 | 12LL | #![deny(clippy_group)] 13 | ^^^^^^^^^^^^ help: change it to: `clippy::group` 14 15warning: lint name `test_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore 16 --> $DIR/lint-tool-test.rs:25:9 17 | 18LL | #[allow(test_group)] 19 | ^^^^^^^^^^ help: change it to: `clippy::test_group` 20 21warning: unknown lint: `this_lint_does_not_exist` 22 --> $DIR/lint-tool-test.rs:27:8 23 | 24LL | #[deny(this_lint_does_not_exist)] 25 | ^^^^^^^^^^^^^^^^^^^^^^^^ 26 | 27 = note: `#[warn(unknown_lints)]` on by default 28 29warning: lint name `test_lint` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore 30 --> $DIR/lint-tool-test.rs:8:23 31 | 32LL | #![cfg_attr(foo, warn(test_lint))] 33 | ^^^^^^^^^ help: change it to: `clippy::test_lint` 34 35error: item is named 'lintme' 36 --> $DIR/lint-tool-test.rs:14:1 37 | 38LL | fn lintme() { } 39 | ^^^^^^^^^^^^^^^ 40 | 41note: lint level defined here 42 --> $DIR/lint-tool-test.rs:11:9 43 | 44LL | #![deny(clippy_group)] 45 | ^^^^^^^^^^^^ 46 = note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]` 47 48error: item is named 'lintmetoo' 49 --> $DIR/lint-tool-test.rs:22:5 50 | 51LL | fn lintmetoo() { } 52 | ^^^^^^^^^^^^^^^^^^ 53 | 54note: lint level defined here 55 --> $DIR/lint-tool-test.rs:11:9 56 | 57LL | #![deny(clippy_group)] 58 | ^^^^^^^^^^^^ 59 = note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]` 60 61error: aborting due to 2 previous errors 62