]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/ex-E0612.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / src / test / ui / error-codes / ex-E0612.rs
1 struct Foo(u32);
2
3 fn main() {
4    let y = Foo(0);
5    y.1; //~ ERROR no field `1` on type `Foo`
6 }