Add intrinsic declaration where I missed them
This commit is contained in:
parent
57509709b4
commit
414970c46f
@ -16,6 +16,8 @@ use core::old_iter::BaseIter;
|
||||
extern "rust-intrinsic" mod rusti {
|
||||
fn move_val_init<T>(dst: &mut T, src: T);
|
||||
fn init<T>() -> T;
|
||||
#[cfg(not(stage0))]
|
||||
fn uninit<T>() -> T;
|
||||
}
|
||||
|
||||
pub struct PriorityQueue<T> {
|
||||
|
@ -114,6 +114,8 @@ mod test_rc {
|
||||
#[abi = "rust-intrinsic"]
|
||||
extern "rust-intrinsic" mod rusti {
|
||||
fn init<T>() -> T;
|
||||
#[cfg(not(stage0))]
|
||||
fn uninit<T>() -> T;
|
||||
}
|
||||
|
||||
#[deriving(Eq)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user