summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-17518.rs
blob: edaebc8122c19264dc4f657eb8bd6c0ec2bbb6ea (plain)
1
2
3
4
5
6
7
enum SomeEnum {
    E
}

fn main() {
    E { name: "foobar" }; //~ ERROR cannot find struct, variant or union type `E`
}