]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/issues/issue-83765.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-83765.stderr
1 error[E0391]: cycle detected when resolving instance `<LazyUpdim<T, { T::DIM }, DIM> as TensorDimension>::DIM`
2 --> $DIR/issue-83765.rs:5:5
3 |
4 LL | const DIM: usize;
5 | ^^^^^^^^^^^^^^^^^
6 |
7 note: ...which requires checking if `TensorDimension` fulfills its obligations...
8 --> $DIR/issue-83765.rs:4:1
9 |
10 LL | trait TensorDimension {
11 | ^^^^^^^^^^^^^^^^^^^^^
12 = note: ...which again requires resolving instance `<LazyUpdim<T, { T::DIM }, DIM> as TensorDimension>::DIM`, completing the cycle
13 note: cycle used when checking if `TensorDimension` fulfills its obligations
14 --> $DIR/issue-83765.rs:4:1
15 |
16 LL | trait TensorDimension {
17 | ^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.