about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-08-09 18:20:12 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-08-09 18:20:12 +0000
commit59cabd70321e9dd7a9b8d670d28cc3c4a70d4337 (patch)
treec53339e055c55306bda6d88140ef9378c000136e /example
parent5dd98a4eb1af02defa2ca86d79f54b6837b50c33 (diff)
downloadrust-59cabd70321e9dd7a9b8d670d28cc3c4a70d4337.tar.gz
rust-59cabd70321e9dd7a9b8d670d28cc3c4a70d4337.zip
Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into sync_cg_clif-2023-08-09
Diffstat (limited to 'example')
-rw-r--r--example/mini_core.rs2
-rw-r--r--example/mini_core_hello_world.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs
index 9ecc4c5dd5b..34c7e44b288 100644
--- a/example/mini_core.rs
+++ b/example/mini_core.rs
@@ -11,7 +11,7 @@
     thread_local
 )]
 #![no_core]
-#![allow(dead_code)]
+#![allow(dead_code, internal_features)]
 
 #[lang = "sized"]
 pub trait Sized {}
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs
index d97fab9eb42..91de04d9770 100644
--- a/example/mini_core_hello_world.rs
+++ b/example/mini_core_hello_world.rs
@@ -1,6 +1,6 @@
 #![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, repr_simd)]
 #![no_core]
-#![allow(dead_code, non_camel_case_types)]
+#![allow(dead_code, non_camel_case_types, internal_features)]
 
 extern crate mini_core;