Skip to content

Commit 37099ae

Browse files
committed
Remove now stable tool_attributes feature
1 parent 712d2d4 commit 37099ae

File tree

9 files changed

+8
-10
lines changed

9 files changed

+8
-10
lines changed

clippy_lints/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
#![feature(macro_vis_matcher)]
99
#![allow(unknown_lints, shadow_reuse, missing_docs_in_private_items)]
1010
#![recursion_limit = "256"]
11-
#![allow(stable_features)]
1211
#![feature(iterator_find_map)]
1312
#![feature(macro_at_most_once_rep)]
14-
#![feature(tool_attributes)]
1513
#![warn(rust_2018_idioms)]
1614

1715
use toml;

tests/needless_continue_helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
// Tests for the various helper functions used by the needless_continue
44
// lint that don't belong in utils.

tests/trim_multiline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
/// test the multiline-trim function
44
extern crate clippy_lints;

tests/ui/author.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
fn main() {
44

tests/ui/author/call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
fn main() {
44
#[clippy::author]

tests/ui/author/for_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes, stmt_expr_attributes)]
1+
#![feature(stmt_expr_attributes)]
22

33
fn main() {
44
#[clippy::author]

tests/ui/cyclomatic_complexity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
#![allow(clippy)]
44
#![warn(cyclomatic_complexity)]

tests/ui/cyclomatic_complexity_attr_used.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(tool_attributes)]
1+
22

33
#![warn(cyclomatic_complexity)]
44
#![warn(unused)]

tests/ui/trailing_zeros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(stmt_expr_attributes, tool_attributes)]
1+
#![feature(stmt_expr_attributes)]
22

33
#![allow(unused_parens)]
44

0 commit comments

Comments
 (0)