about summary refs log tree commit diff
path: root/example/alloc_example.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-04-29 12:00:43 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-04-29 12:00:43 +0000
commit8bf550e616acdf226df60a7d4ae8ed1bb53f09a6 (patch)
tree10038a672e47a766014bf55362a646370d6ce368 /example/alloc_example.rs
parent2f624db5eaeeebadbebdef727b941c599916aa15 (diff)
downloadrust-8bf550e616acdf226df60a7d4ae8ed1bb53f09a6.tar.gz
rust-8bf550e616acdf226df60a7d4ae8ed1bb53f09a6.zip
Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29
Diffstat (limited to 'example/alloc_example.rs')
-rw-r--r--example/alloc_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs
index 4ede2fe4efe..d994e2fbc0a 100644
--- a/example/alloc_example.rs
+++ b/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();
 }