Commit f11dae2
committed
Auto merge of rust-lang#54358 - flip1995:beta, r=Manishearth
[beta] Cancel warning for tool_lints
For the discussion about this, see: rust-lang/rust-clippy#3159
`clippy-preview` is available on stable since 1.29. So when running `cargo +beta clippy` on a crate with `#![allow(clippy_lint)]` a warning is produced, which tells the programmer to change this to `#![allow(clippy::clippy_lint)]`. But since `tool_lints` aren't stable yet, this would require a `#![feature(tool_lints)]`. Features aren't available on stable or beta, so we cannot do this. Even wrapping `cfg_attr(clippy)` around this won't help, since Clippy can also be run from stable or beta toolchain.
r? @ManishearthFile tree
3 files changed
+1
-103
lines changed- src
- librustc/lint
- test/ui-fulldeps
3 files changed
+1
-103
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments