blob: a86b7f42ead6e7b1f7916bc20d82a63d48abfec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|