about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2018-10-02 10:44:49 +0200
committerManish Goregaokar <manishsmail@gmail.com>2018-10-09 16:38:38 -0700
commit5e9084ccc3e3e1265bd52481f6586a5cbaaafc5a (patch)
tree4ae4c2ef499cc18757bf4b3fb9e697173255a03b
parentdc2343c1a8d89cda5012bac175cca9901dd09db9 (diff)
downloadrust-5e9084ccc3e3e1265bd52481f6586a5cbaaafc5a.tar.gz
rust-5e9084ccc3e3e1265bd52481f6586a5cbaaafc5a.zip
Remove `feature(tool_lints)` from tests
-rw-r--r--src/test/run-pass/tool_lints.rs2
-rw-r--r--src/test/run-pass/tool_lints_2018_preview.rs2
-rw-r--r--src/test/ui-fulldeps/lint_tool_test.rs2
-rw-r--r--src/test/ui/tool_lints-fail.rs2
-rw-r--r--src/test/ui/tool_lints.rs2
-rw-r--r--src/test/ui/unknown-lint-tool-name.rs2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/test/run-pass/tool_lints.rs b/src/test/run-pass/tool_lints.rs
index 24ec43b12f6..2705c03598a 100644
--- a/src/test/run-pass/tool_lints.rs
+++ b/src/test/run-pass/tool_lints.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(tool_lints)]
+
 #![deny(unknown_lints)]
 
 #[allow(clippy::almost_swapped)]
diff --git a/src/test/run-pass/tool_lints_2018_preview.rs b/src/test/run-pass/tool_lints_2018_preview.rs
index 6cd57eaa195..57df3e072a8 100644
--- a/src/test/run-pass/tool_lints_2018_preview.rs
+++ b/src/test/run-pass/tool_lints_2018_preview.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(tool_lints)]
+
 #![feature(rust_2018_preview)]
 #![deny(unknown_lints)]
 
diff --git a/src/test/ui-fulldeps/lint_tool_test.rs b/src/test/ui-fulldeps/lint_tool_test.rs
index ebe10b3714f..11b70d1d780 100644
--- a/src/test/ui-fulldeps/lint_tool_test.rs
+++ b/src/test/ui-fulldeps/lint_tool_test.rs
@@ -11,8 +11,8 @@
 // aux-build:lint_tool_test.rs
 // ignore-stage1
 // compile-flags: --cfg foo
+
 #![feature(plugin)]
-#![feature(tool_lints)]
 #![plugin(lint_tool_test)]
 #![allow(dead_code)]
 #![cfg_attr(foo, warn(test_lint))]
diff --git a/src/test/ui/tool_lints-fail.rs b/src/test/ui/tool_lints-fail.rs
index ea1efab4cb6..4134fca1ce6 100644
--- a/src/test/ui/tool_lints-fail.rs
+++ b/src/test/ui/tool_lints-fail.rs
@@ -10,7 +10,7 @@
 
 // Don't allow tool_lints, which aren't scoped
 
-#![feature(tool_lints)]
+
 #![deny(unknown_lints)]
 
 #![deny(clippy)] //~ ERROR: unknown lint: `clippy`
diff --git a/src/test/ui/tool_lints.rs b/src/test/ui/tool_lints.rs
index 71f90b17c18..001f2f11e5c 100644
--- a/src/test/ui/tool_lints.rs
+++ b/src/test/ui/tool_lints.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(tool_lints)]
+
 
 #[warn(foo::bar)]
 //~^ ERROR an unknown tool name found in scoped lint: `foo::bar`
diff --git a/src/test/ui/unknown-lint-tool-name.rs b/src/test/ui/unknown-lint-tool-name.rs
index 78b736edceb..a1d6c27e518 100644
--- a/src/test/ui/unknown-lint-tool-name.rs
+++ b/src/test/ui/unknown-lint-tool-name.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(tool_lints)]
+
 
 #![deny(foo::bar)] //~ ERROR an unknown tool name found in scoped lint: `foo::bar`