]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-79137-toogeneric.stderr
Rollup merge of #106873 - BoxyUwU:ty_const_formatting, r=compiler-errors
[rust.git] / tests / ui / consts / issue-79137-toogeneric.stderr
1 error: constant pattern depends on a generic parameter
2   --> $DIR/issue-79137-toogeneric.rs:12:43
3    |
4 LL |     matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
5    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: constant pattern depends on a generic parameter
8   --> $DIR/issue-79137-toogeneric.rs:12:43
9    |
10 LL |     matches!(GetVariantCount::<T>::VALUE, GetVariantCount::<T>::VALUE)
11    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14