blob: 1463c9926899ed69af6340225d64dbc23eec23b4 [file] [log] [blame]
// { dg-options "-w" }
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
#[lang = "phantom_data"]
struct PhantomData<T>;
trait Hash {
fn hash<H>(&self, state: &mut H);
}
impl<T> Hash for PhantomData<T> {
fn hash<H>(&self, state: &mut H) {}
}