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