]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-make/target-specs/foo.rs
Imported Upstream version 1.0.0~beta.3
[rustc.git] / src / test / run-make / target-specs / foo.rs
index b13c41be5597174a012a4fbeaecfc965cff22626..9dbae19338809ccfaad8eb382162c28dcf6c3b5b 100644 (file)
 #![feature(lang_items, no_std)]
 #![no_std]
 
-#[lang="phantom_fn"]
-trait PhantomFn<A:?Sized,R:?Sized=()> { }
-impl<A:?Sized, R:?Sized, U:?Sized> PhantomFn<A,R> for U { }
-
 #[lang="copy"]
-trait Copy : PhantomFn<Self> { }
+trait Copy { }
 
 #[lang="sized"]
-trait Sized : PhantomFn<Self>  { }
+trait Sized { }
 
 #[lang="start"]
 fn start(_main: *const u8, _argc: isize, _argv: *const *const u8) -> isize { 0 }