about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-03 02:05:59 +0000
committerbors <bors@rust-lang.org>2018-10-03 02:05:59 +0000
commitf11dae2b276c77acf8b46b652ac6af12c8543a19 (patch)
tree1d939df8d200a63c51248dc3ec45df19ef0ce513 /src/libsyntax
parent87e19575c471eab82e2831a181b88575fda44c1c (diff)
parent4e5eba50a3545fc22b047418e4dafe8abc7750a4 (diff)
Auto merge of #54358 - flip1995:beta, r=Manishearth
 [beta] Cancel warning for tool_lints

For the discussion about this, see: rust-lang-nursery/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? @Manishearth
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions