]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-17518.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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 }