]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inline-const/const-match-pat-generic.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / inline-const / const-match-pat-generic.stderr
CommitLineData
923072b8 1error: constant pattern depends on a generic parameter
04454e1e 2 --> $DIR/const-match-pat-generic.rs:8:9
5869c6ff 3 |
a2a8927a
XL
4LL | const { V } => {},
5 | ^^^^^^^^^^^
5869c6ff 6
a2a8927a 7error: constant pattern depends on a generic parameter
923072b8 8 --> $DIR/const-match-pat-generic.rs:21:9
a2a8927a
XL
9 |
10LL | const { f(V) } => {},
11 | ^^^^^^^^^^^^^^
12
13error: constant pattern depends on a generic parameter
923072b8
FG
14 --> $DIR/const-match-pat-generic.rs:8:9
15 |
16LL | const { V } => {},
17 | ^^^^^^^^^^^
18
19error: constant pattern depends on a generic parameter
20 --> $DIR/const-match-pat-generic.rs:21:9
a2a8927a
XL
21 |
22LL | const { f(V) } => {},
23 | ^^^^^^^^^^^^^^
24
923072b8 25error: aborting due to 4 previous errors
5869c6ff 26