]>
Commit | Line | Data |
---|---|---|
923072b8 | 1 | error: constant pattern depends on a generic parameter |
04454e1e | 2 | --> $DIR/const-match-pat-generic.rs:8:9 |
5869c6ff | 3 | | |
a2a8927a XL |
4 | LL | const { V } => {}, |
5 | | ^^^^^^^^^^^ | |
5869c6ff | 6 | |
a2a8927a | 7 | error: constant pattern depends on a generic parameter |
923072b8 | 8 | --> $DIR/const-match-pat-generic.rs:21:9 |
a2a8927a XL |
9 | | |
10 | LL | const { f(V) } => {}, | |
11 | | ^^^^^^^^^^^^^^ | |
12 | ||
13 | error: constant pattern depends on a generic parameter | |
923072b8 FG |
14 | --> $DIR/const-match-pat-generic.rs:8:9 |
15 | | | |
16 | LL | const { V } => {}, | |
17 | | ^^^^^^^^^^^ | |
18 | ||
19 | error: constant pattern depends on a generic parameter | |
20 | --> $DIR/const-match-pat-generic.rs:21:9 | |
a2a8927a XL |
21 | | |
22 | LL | const { f(V) } => {}, | |
23 | | ^^^^^^^^^^^^^^ | |
24 | ||
923072b8 | 25 | error: aborting due to 4 previous errors |
5869c6ff | 26 |