about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-09-19 13:56:58 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-09-19 13:56:58 +0200
commit5d3b8e7c1b259b82549d631f66b88bd041dce3fc (patch)
treeac9a92c909b4e9937c317f4957cd1f2d76429805 /example
parent02d3c132ae621f751ea489c3e74158a8265d4d3f (diff)
downloadrust-5d3b8e7c1b259b82549d631f66b88bd041dce3fc.tar.gz
rust-5d3b8e7c1b259b82549d631f66b88bd041dce3fc.zip
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
Diffstat (limited to 'example')
-rw-r--r--example/alloc_example.rs2
-rw-r--r--example/mini_core_hello_world.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs
index 2a9f7e58e01..d0d492e9674 100644
--- a/example/alloc_example.rs
+++ b/example/alloc_example.rs
@@ -1,4 +1,4 @@
-#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler)]
+#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler, box_syntax)]
 #![no_std]
 
 extern crate alloc;
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs
index 6e13e4dcbfb..cbfdb3c44f3 100644
--- a/example/mini_core_hello_world.rs
+++ b/example/mini_core_hello_world.rs
@@ -1,4 +1,4 @@
-#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local)]
+#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, box_syntax)]
 #![no_core]
 #![allow(dead_code, non_camel_case_types)]