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.

15 lines
369 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 18:29:04 +01:00
|
LL | const { V } => {},
| ^^^^^^^^^^^
2021-08-14 18:29:04 +01:00
error: constant pattern depends on a generic parameter
2023-02-27 17:43:39 +00:00
--> $DIR/const-match-pat-generic.rs:20:9
|
LL | const { f(V) } => {},
| ^^^^^^^^^^^^^^
2023-02-27 17:43:39 +00:00
error: aborting due to 2 previous errors
2021-08-14 18:29:04 +01:00