2022-04-12 11:14:28 -05:00
|
|
|
error: constant pattern depends on a generic parameter
|
2022-04-29 09:27:59 -05:00
|
|
|
--> $DIR/const-match-pat-generic.rs:8:9
|
2021-08-14 12:29:04 -05:00
|
|
|
|
|
2021-12-05 15:38:37 -06:00
|
|
|
LL | const { V } => {},
|
|
|
|
| ^^^^^^^^^^^
|
2021-08-14 12:29:04 -05:00
|
|
|
|
2021-12-05 15:38:37 -06:00
|
|
|
error: constant pattern depends on a generic parameter
|
2022-04-12 11:14:28 -05:00
|
|
|
--> $DIR/const-match-pat-generic.rs:21:9
|
2021-12-05 15:38:37 -06:00
|
|
|
|
|
|
|
|
LL | const { f(V) } => {},
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: constant pattern depends on a generic parameter
|
2022-04-12 11:14:28 -05:00
|
|
|
--> $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
|
2021-12-05 15:38:37 -06:00
|
|
|
|
|
|
|
|
LL | const { f(V) } => {},
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2022-04-12 11:14:28 -05:00
|
|
|
error: aborting due to 4 previous errors
|
2021-08-14 12:29:04 -05:00
|
|
|
|