1 error[E0599]: no associated item named `NotEvenReal` found for type `Foo` in the current scope
2 --> $DIR/E0599.rs:14:15
5 | ----------- associated item `NotEvenReal` not found for this
7 14 | || if let Foo::NotEvenReal() = Foo {}; //~ ERROR E0599
8 | ^^^^^^^^^^^^^^^^^^ associated item not found in `Foo`
10 error: aborting due to previous error