Remove some dead or leftover code related to rustc-intrinsic abi removal
This commit is contained in:
parent
c6c179662d
commit
b2aa9d0620
6 changed files with 13 additions and 60 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
@ -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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue