diff options
| author | bors <bors@rust-lang.org> | 2023-11-03 02:05:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-03 02:05:06 +0000 |
| commit | 6b9d6dedd0d35f16577c397426a15d8a58f38dcb (patch) | |
| tree | 0b7d56acd75c47681a701a92b7b12792f1e93223 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 2520ca8566e596b10b0a163d31d9ce216876fafc (diff) | |
| parent | c890dd66b332b3e13cf413b77372ec3acd35a748 (diff) | |
| download | rust-6b9d6dedd0d35f16577c397426a15d8a58f38dcb.tar.gz rust-6b9d6dedd0d35f16577c397426a15d8a58f38dcb.zip | |
Auto merge of #117313 - GuillaumeGomez:cg_gcc-tests, r=onur-ozkan
Run part of `rustc_codegen_gcc`'s tests in CI Thanks to #112701 and `@bjorn3,` it made this much easier. Also cc `@antoyo.` r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/alloc_example.rs | 2 |
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(); } |
