]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/ex-E0612.rs
Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019'
[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 }