rust/tests/ui/error-codes/E0599.rs
2023-01-11 09:32:08 +00:00

6 lines
86 B
Rust

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