2024-07-13 18:32:10 +02:00
|
|
|
error[E0158]: constant pattern depends on a generic parameter
|
2024-02-01 10:27:54 +00:00
|
|
|
--> $DIR/const-match-pat-generic.rs:7:9
|
2021-08-14 18:29:04 +01:00
|
|
|
|
|
2021-12-05 21:38:37 +00:00
|
|
|
LL | const { V } => {},
|
|
|
|
| ^^^^^^^^^^^
|
2021-08-14 18:29:04 +01:00
|
|
|
|
2024-07-13 18:32:10 +02:00
|
|
|
error[E0158]: constant pattern depends on a generic parameter
|
2024-02-01 10:27:54 +00:00
|
|
|
--> $DIR/const-match-pat-generic.rs:19:9
|
2021-12-05 21:38:37 +00:00
|
|
|
|
|
|
|
|
LL | const { f(V) } => {},
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2023-02-27 17:43:39 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2021-08-14 18:29:04 +01:00
|
|
|
|
2024-07-13 18:32:10 +02:00
|
|
|
For more information about this error, try `rustc --explain E0158`.
|