blob: f0bbf93456ded49d554b437fbf5aa4790156dd6f [file] [log] [blame] [edit]
//@ edition:2015
enum SomeEnum {
E
}
fn main() {
E { name: "foobar" }; //~ ERROR cannot find struct, variant or union type `E`
}