about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--example/example.rs2
-rw-r--r--example/mini_core_hello_world.rs11
-rw-r--r--example/std_example.rs3
3 files changed, 2 insertions, 14 deletions
diff --git a/example/example.rs b/example/example.rs
index 1ef2aa5dd8e..aeb38331edb 100644
--- a/example/example.rs
+++ b/example/example.rs
@@ -1,6 +1,6 @@
 #![feature(no_core, unboxed_closures)]
 #![no_core]
-#![allow(dead_code)]
+#![allow(dead_code, unnecessary_transmutes)]
 
 extern crate mini_core;
 
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs
index 0b3a7281d5a..93ca2e0e421 100644
--- a/example/mini_core_hello_world.rs
+++ b/example/mini_core_hello_world.rs
@@ -1,13 +1,4 @@
-#![feature(
-    no_core,
-    lang_items,
-    never_type,
-    linkage,
-    extern_types,
-    naked_functions,
-    thread_local,
-    repr_simd
-)]
+#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, repr_simd)]
 #![no_core]
 #![allow(dead_code, non_camel_case_types, internal_features)]
 
diff --git a/example/std_example.rs b/example/std_example.rs
index ffdc6a7d484..2d9de2a5b8d 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -8,9 +8,6 @@
     unboxed_closures
 )]
 #![allow(internal_features)]
-// FIXME once abi_unsupported_vector_types is a hard error disable the foo test when the respective
-// target feature is not enabled.
-#![allow(abi_unsupported_vector_types)]
 
 #[cfg(target_arch = "x86_64")]
 use std::arch::x86_64::*;