rust/tests/ui/enum/enum-in-scope.rs
2023-01-11 09:32:08 +00:00

7 lines
138 B
Rust

#![allow(non_camel_case_types)]
struct hello(isize);
fn main() {
let hello = 0; //~ERROR let bindings cannot shadow tuple structs
}