rust/tests/ui/resolve/issue-17518.rs

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

8 lines
121 B
Rust
Raw Normal View History

enum SomeEnum {
E
}
fn main() {
2017-11-20 06:13:27 -06:00
E { name: "foobar" }; //~ ERROR cannot find struct, variant or union type `E`
}