blob: a86b7f42ead6e7b1f7916bc20d82a63d48abfec3 [file] [log] [blame]
error: opaque type `Foo` cannot be used in patterns
--> $DIR/structural-match.rs:17:9
|
LL | const VALUE: Foo = value();
| ---------------- constant defined here
...
LL | VALUE => (),
| ^^^^^ opaque type can't be used in patterns
error: aborting due to 1 previous error