rust/tests/ui/consts/issue-79137-toogeneric.stderr

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

10 lines
371 B
Plaintext
Raw Normal View History

error[E0158]: constant pattern depends on a generic parameter
2020-11-21 13:47:09 +08:00
--> $DIR/issue-79137-toogeneric.rs:12:43
|
LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0158`.