rust/tests/ui/enum/enum-in-scope.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
138 B
Rust
Raw Normal View History

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