]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0615.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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 }