blob: 25cdfa909907097a2ecf1f3f5e40dc2e84a36dcb [file] [log] [blame]
pub trait Foo {
#[inline(always)]
fn f(&self);
}
pub struct Bar {
pub x: String
}
impl Foo for Bar {
#[inline(always)]
fn f(&self) {
println!("{}", (*self).x);
}
}