diff --git a/src/test/compile-fail-fulldeps/gated-macro-reexports.rs b/src/test/compile-fail-fulldeps/gated-macro-reexports.rs index a88445bafc04..022a6b4f2f7d 100644 --- a/src/test/compile-fail-fulldeps/gated-macro-reexports.rs +++ b/src/test/compile-fail-fulldeps/gated-macro-reexports.rs @@ -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 diff --git a/src/test/compile-fail/gated-box-patterns.rs b/src/test/compile-fail/gated-box-patterns.rs index abaa256d52e7..d82d0dec72bb 100644 --- a/src/test/compile-fail/gated-box-patterns.rs +++ b/src/test/compile-fail/gated-box-patterns.rs @@ -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 _ => () }; } diff --git a/src/test/compile-fail/gated-box-syntax.rs b/src/test/compile-fail/gated-box-syntax.rs index 3e08c1f7a713..a2643fe02b8f 100644 --- a/src/test/compile-fail/gated-box-syntax.rs +++ b/src/test/compile-fail/gated-box-syntax.rs @@ -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 } diff --git a/src/test/compile-fail/gated-link-args.rs b/src/test/compile-fail/gated-link-args.rs index c8845ced2fc9..7b1405c913f6 100644 --- a/src/test/compile-fail/gated-link-args.rs +++ b/src/test/compile-fail/gated-link-args.rs @@ -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() { } diff --git a/src/test/compile-fail/gated-link-llvm-intrinsics.rs b/src/test/compile-fail/gated-link-llvm-intrinsics.rs index 716ea9f8dba2..92a1b071437e 100644 --- a/src/test/compile-fail/gated-link-llvm-intrinsics.rs +++ b/src/test/compile-fail/gated-link-llvm-intrinsics.rs @@ -12,7 +12,6 @@ extern { #[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(){ diff --git a/src/test/compile-fail/gated-plugin_registrar.rs b/src/test/compile-fail/gated-plugin_registrar.rs index d716c53e1d18..9cdebde7b7b9 100644 --- a/src/test/compile-fail/gated-plugin_registrar.rs +++ b/src/test/compile-fail/gated-plugin_registrar.rs @@ -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() {} diff --git a/src/test/compile-fail/gated-unsafe-destructor.rs b/src/test/compile-fail/gated-unsafe-destructor.rs index 2aebbf3d54b9..9dd1e229e0af 100644 --- a/src/test/compile-fail/gated-unsafe-destructor.rs +++ b/src/test/compile-fail/gated-unsafe-destructor.rs @@ -18,8 +18,6 @@ struct D<'a>(&'a u32); #[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) { } }