rust/tests/ui/error-codes/E0610.rs
2023-01-11 09:32:08 +00:00

5 lines
64 B
Rust

fn main() {
let x = 0;
let _ = x.foo; //~ ERROR E0610
}