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.

16 lines
451 B
Plaintext
Raw Normal View History

error[E0158]: constant pattern depends on a generic parameter
--> $DIR/const-match-pat-generic.rs:7:9
2021-08-14 18:29:04 +01:00
|
LL | const { V } => {},
| ^^^^^^^^^^^
2021-08-14 18:29:04 +01:00
error[E0158]: constant pattern depends on a generic parameter
--> $DIR/const-match-pat-generic.rs:19: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
For more information about this error, try `rustc --explain E0158`.