summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0071.rs
blob: 678502ba328894cdd7033a02a02ae830105b60e8 (plain)
1
2
3
4
5
6
7
enum Foo {}
type FooAlias = Foo;

fn main() {
    let u = FooAlias { value: 0 };
    //~^ ERROR expected struct, variant or union type, found `Foo` [E0071]
}