mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
15 lines
552 B
Plaintext
15 lines
552 B
Plaintext
error: constant pattern depends on a generic parameter
|
|
--> $DIR/issue-79137-toogeneric.rs:12:43
|
|
|
|
|
LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: constant pattern depends on a generic parameter
|
|
--> $DIR/issue-79137-toogeneric.rs:12:43
|
|
|
|
|
LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|