rust/tests/ui/resolve/issue-17518.rs
2023-01-11 09:32:08 +00:00

8 lines
121 B
Rust

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