Fix test failures

This commit is contained in:
Simonas Kazlauskas 2017-04-02 11:16:17 +03:00
parent 486345551c
commit c337b99f4c
3 changed files with 2 additions and 2 deletions

View file

@ -10,10 +10,9 @@
#![feature(core_intrinsics)]
use std::intrinsics::{init, forget};
use std::intrinsics::{init};
// Test that the `forget` and `init` intrinsics are really unsafe
pub fn main() {
let stuff = init::<isize>(); //~ ERROR call to unsafe function requires unsafe
forget(stuff); //~ ERROR call to unsafe function requires unsafe
}