]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-73976-polymorphic.stderr
Rollup merge of #106699 - eholk:await-chains-drop-tracking, r=wesleywiser
[rust.git] / tests / ui / consts / issue-73976-polymorphic.stderr
1 error: constant pattern depends on a generic parameter
2   --> $DIR/issue-73976-polymorphic.rs:20:37
3    |
4 LL |     matches!(GetTypeId::<T>::VALUE, GetTypeId::<T>::VALUE)
5    |                                     ^^^^^^^^^^^^^^^^^^^^^
6
7 error: constant pattern depends on a generic parameter
8   --> $DIR/issue-73976-polymorphic.rs:32:42
9    |
10 LL |     matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
11    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: constant pattern depends on a generic parameter
14   --> $DIR/issue-73976-polymorphic.rs:20:37
15    |
16 LL |     matches!(GetTypeId::<T>::VALUE, GetTypeId::<T>::VALUE)
17    |                                     ^^^^^^^^^^^^^^^^^^^^^
18
19 error: constant pattern depends on a generic parameter
20   --> $DIR/issue-73976-polymorphic.rs:32:42
21    |
22 LL |     matches!(GetTypeNameLen::<T>::VALUE, GetTypeNameLen::<T>::VALUE)
23    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 4 previous errors
26