summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_gcc/example/mod_bench.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/mod_bench.rs')
-rw-r--r--compiler/rustc_codegen_gcc/example/mod_bench.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/example/mod_bench.rs b/compiler/rustc_codegen_gcc/example/mod_bench.rs
index 5e2e7f25a..cae911c10 100644
--- a/compiler/rustc_codegen_gcc/example/mod_bench.rs
+++ b/compiler/rustc_codegen_gcc/example/mod_bench.rs
@@ -1,11 +1,12 @@
#![feature(start, core_intrinsics, lang_items)]
#![no_std]
+#![allow(internal_features)]
#[link(name = "c")]
extern {}
#[panic_handler]
-fn panic_handler(_: &core::panic::PanicInfo) -> ! {
+fn panic_handler(_: &core::panic::PanicInfo<'_>) -> ! {
core::intrinsics::abort();
}