rust/tests/ui/error-codes/E0599.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
86 B
Rust
Raw Normal View History

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