summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23253.rs
blob: 22b55c2858145c5261c1e39dbe64b76a7f1ace7f (plain)
1
2
3
4
5
6
enum Foo { Bar }

fn main() {
    Foo::Bar.a;
    //~^ no field `a` on type `Foo`
}