rust/tests/ui/inline-const/const-match-pat-generic.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
696 B
Plaintext
Raw Normal View History

error: constant pattern depends on a generic parameter
--> $DIR/const-match-pat-generic.rs:8:9
2021-08-14 12:29:04 -05:00
|
LL | const { V } => {},
| ^^^^^^^^^^^
2021-08-14 12:29:04 -05:00
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
2021-08-14 12:29:04 -05:00