os-rust/tests/ui/consts/issue-73976-polymorphic.stderr

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

16 lines
608 B
Text
Raw Permalink Normal View History

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
2023-02-27 17:43:39 +00:00
--> $DIR/issue-73976-polymorphic.rs:31:42
|
LL | matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-02-27 17:43:39 +00:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0158`.