about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/gated-attr-literals.rs2
-rw-r--r--src/test/compile-fail/gated-naked_functions.rs2
-rw-r--r--src/test/compile-fail/never-disabled.rs2
-rw-r--r--src/test/compile-fail/unadjusted-unstable.rs2
-rw-r--r--src/tools/tidy/src/features.rs2
5 files changed, 9 insertions, 1 deletions
diff --git a/src/test/compile-fail/gated-attr-literals.rs b/src/test/compile-fail/gated-attr-literals.rs
index f3132d5593e..04abc44caec 100644
--- a/src/test/compile-fail/gated-attr-literals.rs
+++ b/src/test/compile-fail/gated-attr-literals.rs
@@ -10,6 +10,8 @@
 
 // Check that literals in attributes don't parse without the feature gate.
 
+// gate-test-attr_literals
+
 #![feature(rustc_attrs)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
diff --git a/src/test/compile-fail/gated-naked_functions.rs b/src/test/compile-fail/gated-naked_functions.rs
index ceb475e1192..5eb41181027 100644
--- a/src/test/compile-fail/gated-naked_functions.rs
+++ b/src/test/compile-fail/gated-naked_functions.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// gate-test-naked_functions
+
 #[naked]
 //~^ the `#[naked]` attribute is an experimental feature
 fn naked() {}
diff --git a/src/test/compile-fail/never-disabled.rs b/src/test/compile-fail/never-disabled.rs
index 11b9f412957..fb6b34fcbb6 100644
--- a/src/test/compile-fail/never-disabled.rs
+++ b/src/test/compile-fail/never-disabled.rs
@@ -10,6 +10,8 @@
 
 // Test that ! errors when used in illegal positions with feature(never_type) disabled
 
+// gate-test-never_type
+
 trait Foo {
     type Wub;
 }
diff --git a/src/test/compile-fail/unadjusted-unstable.rs b/src/test/compile-fail/unadjusted-unstable.rs
index 501f4451ed8..2c23050085d 100644
--- a/src/test/compile-fail/unadjusted-unstable.rs
+++ b/src/test/compile-fail/unadjusted-unstable.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// gate-test-abi_unadjusted
+
 extern "unadjusted" fn foo() {
 //~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable
 }
diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs
index 290a1d9facb..15763778d92 100644
--- a/src/tools/tidy/src/features.rs
+++ b/src/tools/tidy/src/features.rs
@@ -166,7 +166,7 @@ pub fn check(path: &Path, bad: &mut bool) {
                                 .count();
 
     // FIXME get this number down to zero.
-    let gate_untested_expected = 98;
+    let gate_untested_expected = 94;
 
     if gate_untested != gate_untested_expected {
         print!("Expected {} gate untested features, but found {}. ",