about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcel Hellwig <github@cookiesoft.de>2021-08-06 17:14:27 +0200
committerest31 <MTest31@outlook.com>2021-08-18 09:31:51 +0200
commit8b8ab5f599f04d83f31994a47cf2345dbaddd38b (patch)
tree61f0d5db6cd0a2566f94e16c80091cdefd0d8942
parent1bfa59afe042e03371c7c62860e94db1e20bd657 (diff)
downloadrust-8b8ab5f599f04d83f31994a47cf2345dbaddd38b.tar.gz
rust-8b8ab5f599f04d83f31994a47cf2345dbaddd38b.zip
remove box_syntax uses from cranelift and tools
-rw-r--r--example/alloc_example.rs2
-rw-r--r--example/mini_core_hello_world.rs2
-rw-r--r--example/mod_bench.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs
index 71e93e87b6c..2a9f7e58e01 100644
--- a/example/alloc_example.rs
+++ b/example/alloc_example.rs
@@ -1,4 +1,4 @@
-#![feature(start, box_syntax, core_intrinsics, alloc_prelude, alloc_error_handler)]
+#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler)]
 #![no_std]
 
 extern crate alloc;
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs
index d997ce6d1b3..6e13e4dcbfb 100644
--- a/example/mini_core_hello_world.rs
+++ b/example/mini_core_hello_world.rs
@@ -1,4 +1,4 @@
-#![feature(no_core, lang_items, box_syntax, never_type, linkage, extern_types, thread_local)]
+#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local)]
 #![no_core]
 #![allow(dead_code, non_camel_case_types)]
 
diff --git a/example/mod_bench.rs b/example/mod_bench.rs
index 152041aa9ed..e3e8a3c2d6a 100644
--- a/example/mod_bench.rs
+++ b/example/mod_bench.rs
@@ -1,4 +1,4 @@
-#![feature(start, box_syntax, core_intrinsics, lang_items)]
+#![feature(start, core_intrinsics, lang_items)]
 #![no_std]
 
 #[cfg_attr(unix, link(name = "c"))]