mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
27 lines
696 B
Plaintext
27 lines
696 B
Plaintext
error: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:8:9
|
|
|
|
|
LL | const { V } => {},
|
|
| ^^^^^^^^^^^
|
|
|
|
error: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:21:9
|
|
|
|
|
LL | const { f(V) } => {},
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:8:9
|
|
|
|
|
LL | const { V } => {},
|
|
| ^^^^^^^^^^^
|
|
|
|
error: constant pattern depends on a generic parameter
|
|
--> $DIR/const-match-pat-generic.rs:21:9
|
|
|
|
|
LL | const { f(V) } => {},
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|