summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-73976-polymorphic.stderr
blob: 442ad23f2cc425c97f6721be378341911383f79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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:32:42
   |
LL |     matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^

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:32:42
   |
LL |     matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors