blob: f3e791a1476a8a7e91ec0edb412d7506a0caddf5 [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
trait Foo {
fn bar() -> i32;
}
struct Test(i32, f32);
impl Foo for Test {
fn bar() -> i32 {
123
}
}
fn main() {
let a: i32;
a = Test::bar();
}