mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
16 lines
451 B
Plaintext
16 lines
451 B
Plaintext
error[E0158]: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:7:9
|
|
|
|
|
LL | const { V } => {},
|
|
| ^^^^^^^^^^^
|
|
|
|
error[E0158]: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:19:9
|
|
|
|
|
LL | const { f(V) } => {},
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0158`.
|