1 error: constant pattern depends on a generic parameter
2 --> $DIR/issue-79137-toogeneric.rs:12:43
4 LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: constant pattern depends on a generic parameter
8 --> $DIR/issue-79137-toogeneric.rs:12:43
10 LL | matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors