about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-04 08:10:57 +0000
committerbors <bors@rust-lang.org>2023-11-04 08:10:57 +0000
commit1b2e4a9c9412c77ba7ed95e38b1eb6d6582a5517 (patch)
tree87efd97cf8717980af504c6778bd3d332ce2238f /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent1a08886b782c25387c4c864597dd4a64a0ce98f9 (diff)
parent5b187039e4afe41221bb48b082517cc1d5b973e1 (diff)
downloadrust-1b2e4a9c9412c77ba7ed95e38b1eb6d6582a5517.tar.gz
rust-1b2e4a9c9412c77ba7ed95e38b1eb6d6582a5517.zip
Auto merge of #3154 - rust-lang:rustup-2023-11-04, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
-rw-r--r--compiler/rustc_codegen_gcc/example/alloc_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/example/alloc_example.rs b/compiler/rustc_codegen_gcc/example/alloc_example.rs
index f1954a30cf8..6ed8b9157f2 100644
--- a/compiler/rustc_codegen_gcc/example/alloc_example.rs
+++ b/compiler/rustc_codegen_gcc/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();
 }