summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-73976-polymorphic.stderr
blob: 97a5fbc5747a382001918e4cb0e4fafde6157b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: constant pattern depends on a generic parameter
  --> $DIR/issue-73976-polymorphic.rs:20:37
   |
LL |     matches!(GetTypeId::<T>::VALUE, GetTypeId::<T>::VALUE)
   |                                     ^^^^^^^^^^^^^^^^^^^^^

error: 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