summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0599.rs
blob: a2d7bb2dcbe0ea51b54bac14b8ca905835514056 (plain)
1
2
3
4
5
struct Foo;

fn main() {
    || if let Foo::NotEvenReal() = Foo {}; //~ ERROR E0599
}