]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-17518.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-17518.rs
1 enum SomeEnum {
2     E
3 }
4
5 fn main() {
6     E { name: "foobar" }; //~ ERROR cannot find struct, variant or union type `E`
7 }