about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tests/run/abort2.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-02-23 17:34:50 +0100
committerRalf Jung <post@ralfj.de>2025-02-24 07:53:59 +0100
commit6eea027aa9453b685ac636ea40fc826267afab2a (patch)
treef5021a6137ff4a0be0a88a92cbee6d5990c4096a /compiler/rustc_codegen_gcc/tests/run/abort2.rs
parent5a58a922e21438d70f1be738754dc257cc8c649b (diff)
downloadrust-6eea027aa9453b685ac636ea40fc826267afab2a.tar.gz
rust-6eea027aa9453b685ac636ea40fc826267afab2a.zip
remove support for rustc_intrinsic_must_be_overridden from the compiler
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/abort2.rs')
-rw-r--r--compiler/rustc_codegen_gcc/tests/run/abort2.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/abort2.rs b/compiler/rustc_codegen_gcc/tests/run/abort2.rs
index 6c66a930e07..4123f4f4bee 100644
--- a/compiler/rustc_codegen_gcc/tests/run/abort2.rs
+++ b/compiler/rustc_codegen_gcc/tests/run/abort2.rs
@@ -36,10 +36,7 @@ mod intrinsics {
 
     #[rustc_nounwind]
     #[rustc_intrinsic]
-    #[rustc_intrinsic_must_be_overridden]
-    pub fn abort() -> ! {
-        loop {}
-    }
+    pub fn abort() -> !;
 }
 
 /*