Skip to content

Commit 5e9084c

Browse files
flip1995Manishearth
authored andcommitted
Remove feature(tool_lints) from tests
1 parent dc2343c commit 5e9084c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/test/run-pass/tool_lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

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

1414
#[allow(clippy::almost_swapped)]

src/test/run-pass/tool_lints_2018_preview.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(tool_lints)]
11+
1212
#![feature(rust_2018_preview)]
1313
#![deny(unknown_lints)]
1414

src/test/ui-fulldeps/lint_tool_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// aux-build:lint_tool_test.rs
1212
// ignore-stage1
1313
// compile-flags: --cfg foo
14+
1415
#![feature(plugin)]
15-
#![feature(tool_lints)]
1616
#![plugin(lint_tool_test)]
1717
#![allow(dead_code)]
1818
#![cfg_attr(foo, warn(test_lint))]

src/test/ui/tool_lints-fail.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Don't allow tool_lints, which aren't scoped
1212

13-
#![feature(tool_lints)]
13+
1414
#![deny(unknown_lints)]
1515

1616
#![deny(clippy)] //~ ERROR: unknown lint: `clippy`

src/test/ui/tool_lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

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

1313
#[warn(foo::bar)]
1414
//~^ ERROR an unknown tool name found in scoped lint: `foo::bar`

src/test/ui/unknown-lint-tool-name.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

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

1313
#![deny(foo::bar)] //~ ERROR an unknown tool name found in scoped lint: `foo::bar`
1414

0 commit comments

Comments
 (0)