]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0615.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / error-codes / E0615.rs
1 struct Foo {
2     x: u32,
3 }
4
5 impl Foo {
6     fn method(&self) {}
7 }
8
9 fn main() {
10     let f = Foo { x: 0 };
11     f.method; //~ ERROR E0615
12 }