1 error[E0391]: cycle detected when resolving instance `<LazyUpdim<T, { T::DIM }, DIM> as TensorDimension>::DIM`
2 --> $DIR/issue-83765.rs:5:5
7 note: ...which requires checking if `TensorDimension` fulfills its obligations...
8 --> $DIR/issue-83765.rs:4:1
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
16 LL | trait TensorDimension {
17 | ^^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0391`.