Skip to content

Commit b8654ea

Browse files
committed
Stabilize tool lints
1 parent 8b45dd7 commit b8654ea

File tree

205 files changed

+211
-212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+211
-212
lines changed

README.md

Lines changed: 4 additions & 5 deletions

clippy_dev/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010

11-
#![feature(tool_lints)]
11+
1212
#![allow(clippy::default_hash_types)]
1313

1414
use itertools::Itertools;

clippy_lints/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#![allow(unknown_lints, clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
1919
#![recursion_limit = "256"]
2020
#![feature(macro_at_most_once_rep)]
21-
#![feature(tool_lints)]
21+
2222
#![warn(rust_2018_idioms, trivial_casts, trivial_numeric_casts)]
2323
#![feature(crate_visibility_modifier)]
2424
#![feature(try_from)]

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// error-pattern:yummy
1212
#![feature(box_syntax)]
1313
#![feature(rustc_private)]
14-
#![feature(tool_lints)]
14+
1515
#![feature(try_from)]
1616
#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
1717

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// error-pattern:cargo-clippy
1212
#![feature(plugin_registrar)]
1313
#![feature(rustc_private)]
14-
#![feature(tool_lints)]
14+
1515
#![allow(unknown_lints)]
1616
#![allow(clippy::missing_docs_in_private_items)]
1717
#![warn(rust_2018_idioms)]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// error-pattern:yummy
1212
#![feature(box_syntax)]
1313
#![feature(rustc_private)]
14-
#![feature(tool_lints)]
14+
1515
#![allow(unknown_lints, clippy::missing_docs_in_private_items)]
1616

1717
use rustc_tools_util::*;

tests/run-pass/enum-glob-import-crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010

11-
#![feature(tool_lints)]
11+
1212

1313
#![deny(clippy::all)]
1414
#![allow(unused_imports)]

tests/run-pass/ice-1588.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010

11-
#![feature(tool_lints)]
11+
1212

1313
#![allow(clippy::all)]
1414

tests/run-pass/ice-1969.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010

11-
#![feature(tool_lints)]
11+
1212

1313
#![allow(clippy::all)]
1414

tests/run-pass/ice-2499.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010

11-
#![feature(tool_lints)]
11+
1212

1313
#![allow(dead_code, clippy::char_lit_as_u8, clippy::needless_bool)]
1414

0 commit comments

Comments
 (0)