summaryrefslogtreecommitdiffstats
path: root/src/test/ui/enum/enum-in-scope.rs
blob: df14bc62e76819c32c9b954fc37a17ae83fb90cc (plain)
1
2
3
4
5
6
7
#![allow(non_camel_case_types)]

struct hello(isize);

fn main() {
    let hello = 0; //~ERROR let bindings cannot shadow tuple structs
}