fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
369 B14 linesraw
1error: constant pattern depends on a generic parameter
2  --> $DIR/const-match-pat-generic.rs:8:9
3   |
4LL |         const { V } => {},
5   |         ^^^^^^^^^^^
6
7error: constant pattern depends on a generic parameter
8  --> $DIR/const-match-pat-generic.rs:20:9
9   |
10LL |         const { f(V) } => {},
11   |         ^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14