Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
187 B
Rust
Raw Normal View History

2017-06-12 23:53:12 +02:00
mod a {
pub struct Foo {
x: u32,
}
impl Foo {
pub fn new() -> Foo { Foo { x: 0 } }
}
}
fn main() {
let f = a::Foo::new();
f.x; //~ ERROR E0616
}