diff options
| author | Ralf Jung <post@ralfj.de> | 2025-02-23 17:34:50 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-02-24 07:53:59 +0100 |
| commit | 6eea027aa9453b685ac636ea40fc826267afab2a (patch) | |
| tree | f5021a6137ff4a0be0a88a92cbee6d5990c4096a /compiler/rustc_codegen_gcc/tests/run/static.rs | |
| parent | 5a58a922e21438d70f1be738754dc257cc8c649b (diff) | |
| download | rust-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/static.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/tests/run/static.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/static.rs b/compiler/rustc_codegen_gcc/tests/run/static.rs index 80c8782c4b1..c3c8121b1e1 100644 --- a/compiler/rustc_codegen_gcc/tests/run/static.rs +++ b/compiler/rustc_codegen_gcc/tests/run/static.rs @@ -49,10 +49,7 @@ mod intrinsics { #[rustc_nounwind] #[rustc_intrinsic] - #[rustc_intrinsic_must_be_overridden] - pub fn abort() -> ! { - loop {} - } + pub fn abort() -> !; } mod libc { |
