diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-04-08 10:52:16 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-04-09 07:57:13 +0000 |
| commit | b2aa9d0620bbfa09f67c7bbfae2dd553d39bc90a (patch) | |
| tree | b8c764737740790a077faad8eda606d0c7580a4a /tests/ui/error-codes | |
| parent | c6c179662d5a6fc0520e05b5c0682dcfc7333f77 (diff) | |
| download | rust-b2aa9d0620bbfa09f67c7bbfae2dd553d39bc90a.tar.gz rust-b2aa9d0620bbfa09f67c7bbfae2dd553d39bc90a.zip | |
Remove some dead or leftover code related to rustc-intrinsic abi removal
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0622.rs | 14 | ||||
| -rw-r--r-- | tests/ui/error-codes/E0622.stderr | 9 |
2 files changed, 0 insertions, 23 deletions
diff --git a/tests/ui/error-codes/E0622.rs b/tests/ui/error-codes/E0622.rs deleted file mode 100644 index 0c2a4f226d8..00000000000 --- a/tests/ui/error-codes/E0622.rs +++ /dev/null @@ -1,14 +0,0 @@ -#![feature(intrinsics)] - -extern "C" { - - #[rustc_intrinsic] - pub static atomic_singlethreadfence_seqcst: unsafe extern "C" fn(); - //~^ ERROR intrinsic must be a function [E0622] -} - -fn main() { - unsafe { - atomic_singlethreadfence_seqcst(); - } -} diff --git a/tests/ui/error-codes/E0622.stderr b/tests/ui/error-codes/E0622.stderr deleted file mode 100644 index c0aea542af0..00000000000 --- a/tests/ui/error-codes/E0622.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0622]: intrinsic must be a function - --> $DIR/E0622.rs:6:5 - | -LL | pub static atomic_singlethreadfence_seqcst: unsafe extern "C" fn(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a function - -error: aborting due to 1 previous error - -For more information about this error, try `rustc --explain E0622`. |
