summaryrefslogtreecommitdiffstats
path: root/tests/ui/inline-const/const-match-pat-generic.stderr
blob: 77267f12fb11a74ae5ece696413ba7c85bf491ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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