about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-29 13:24:36 +0000
committerbors <bors@rust-lang.org>2023-04-29 13:24:36 +0000
commit27d22d2045478c544ad043556de4993eebe4be29 (patch)
tree2801357d63b7e4897e85a2c4b74d57a967c16abc /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parentf2299490c11b0c53ece5f6a13dd092fc9c99d264 (diff)
parentd925a536b5201dad81ec2911382c8b9b3e56723b (diff)
downloadrust-27d22d2045478c544ad043556de4993eebe4be29.tar.gz
rust-27d22d2045478c544ad043556de4993eebe4be29.zip
Auto merge of #110992 - bjorn3:sync_cg_clif-2023-04-29, r=bjorn3
Sync rustc_codegen_cranelift

Updated Cranelift and fixed a couple of bugs.

r? `@ghost`

`@rustbot` label +A-codegen +A-cranelift +T-compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/alloc_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/alloc_example.rs b/compiler/rustc_codegen_cranelift/example/alloc_example.rs
index 4ede2fe4efe..d994e2fbc0a 100644
--- a/compiler/rustc_codegen_cranelift/example/alloc_example.rs
+++ b/compiler/rustc_codegen_cranelift/example/alloc_example.rs
@@ -18,7 +18,7 @@ extern "C" {
 }
 
 #[panic_handler]
-fn panic_handler(_: &core::panic::PanicInfo) -> ! {
+fn panic_handler(_: &core::panic::PanicInfo<'_>) -> ! {
     core::intrinsics::abort();
 }