blob: 6d1161ebb0442c101dc7bf2ce352f28a654718dc [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
fn main() {
struct Foo;
trait Bar {
fn foo(&self);
}
impl Bar for Foo {
fn foo(&self) {}
}
let s = Foo;
s.foo();
}