mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
16 lines
608 B
Plaintext
16 lines
608 B
Plaintext
error[E0158]: constant pattern depends on a generic parameter
|
|
--> $DIR/issue-73976-polymorphic.rs:20:37
|
|
|
|
|
LL | matches!(GetTypeId::<T>::VALUE, GetTypeId::<T>::VALUE)
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0158]: constant pattern depends on a generic parameter
|
|
--> $DIR/issue-73976-polymorphic.rs:31:42
|
|
|
|
|
LL | matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0158`.
|