]> git.lizzy.rs Git - rust.git/commitdiff
Fallout to tests expecting unconditional help output from missing features.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 2 Apr 2015 17:30:45 +0000 (19:30 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 2 Apr 2015 17:30:45 +0000 (19:30 +0200)
src/test/compile-fail-fulldeps/gated-macro-reexports.rs
src/test/compile-fail/gated-box-patterns.rs
src/test/compile-fail/gated-box-syntax.rs
src/test/compile-fail/gated-link-args.rs
src/test/compile-fail/gated-link-llvm-intrinsics.rs
src/test/compile-fail/gated-plugin_registrar.rs
src/test/compile-fail/gated-unsafe-destructor.rs

index a88445bafc049e8920b440627911a4b221b9ed5f..022a6b4f2f7deb95718dce6ab5a5ed1e86d6a916 100644 (file)
@@ -19,4 +19,3 @@
 #[macro_use] #[no_link]
 extern crate macro_reexport_1;
 //~^ ERROR macros reexports are experimental and possibly buggy
-//~| HELP add #![feature(macro_reexport)] to the crate attributes to enable
index abaa256d52e7fa3e7e3cbccb8a714a64352efcfe..d82d0dec72bba4dd0e2e5d04cf4e8541acf85b37 100644 (file)
@@ -16,7 +16,6 @@ fn main() {
     match x {
         box 1 => (),
         //~^ box pattern syntax is experimental
-        //~| add #![feature(box_patterns)] to the crate attributes to enable
         _     => ()
     };
 }
index 3e08c1f7a71305ee1d64d977e4986023d5a5fdd3..a2643fe02b8f72bdc6fdd0594b73238386d01297 100644 (file)
@@ -13,5 +13,4 @@
 fn main() {
     let x = box 3;
     //~^ ERROR box expression syntax is experimental; you can call `Box::new` instead.
-    //~| HELP add #![feature(box_syntax)] to the crate attributes to enable
 }
index c8845ced2fc92cb9c99dd9156622eea020563ab0..7b1405c913f6b0236298d07d6521579cfa2938ea 100644 (file)
@@ -14,6 +14,5 @@
 #[link_args = "aFdEfSeVEEE"]
 extern {}
 //~^ ERROR the `link_args` attribute is not portable across platforms
-//~| HELP add #![feature(link_args)] to the crate attributes to enable
 
 fn main() { }
index 716ea9f8dba21ff678941d09bbd7ffe0e35ae60b..92a1b071437e60f9fb0867198ce5f1a46aaa3716 100644 (file)
@@ -12,7 +12,6 @@
     #[link_name = "llvm.sqrt.f32"]
     fn sqrt(x: f32) -> f32;
     //~^ ERROR linking to LLVM intrinsics is experimental
-    //~| HELP add #![feature(link_llvm_intrinsics)] to the crate attributes
 }
 
 fn main(){
index d716c53e1d18ce68c4db2f1a79f42b7c9802cae4..9cdebde7b7b9879946e83a4aaf2c274540cf6cda 100644 (file)
@@ -15,5 +15,4 @@
 #[plugin_registrar]
 pub fn registrar() {}
 //~^ ERROR compiler plugins are experimental
-//~| HELP add #![feature(plugin_registrar)] to the crate attributes to enable
 fn main() {}
index 2aebbf3d54b9cd08d6151d071685887cde875098..9dd1e229e0af5a02b7fbe0e71d47941f27103498 100644 (file)
@@ -18,8 +18,6 @@
 
 #[unsafe_destructor]
 //~^ ERROR `#[unsafe_destructor]` does nothing anymore
-//~| HELP: add #![feature(unsafe_destructor)] to the crate attributes to enable
-// (but of couse there is no point in doing so)
 impl<'a> Drop for D<'a> {
     fn drop(&mut self) { }
 }