fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0391]: cycle detected when resolving instance `<LazyUpdim<'_, T, <T as TensorDimension>::DIM, DIM> as TensorDimension>::DIM` 2 --> $DIR/issue-83765.rs:5:5 3 | 4LL | const DIM: usize; 5 | ^^^^^^^^^^^^^^^^ 6 | 7note: ...which requires computing candidate for `<LazyUpdim<'_, T, <T as TensorDimension>::DIM, DIM> as TensorDimension>`... 8 --> $DIR/issue-83765.rs:4:1 9 | 10LL | trait TensorDimension { 11 | ^^^^^^^^^^^^^^^^^^^^^ 12 = note: ...which again requires resolving instance `<LazyUpdim<'_, T, <T as TensorDimension>::DIM, DIM> as TensorDimension>::DIM`, completing the cycle 13note: cycle used when computing candidate for `<LazyUpdim<'_, T, { T::DIM }, DIM> as TensorDimension>` 14 --> $DIR/issue-83765.rs:4:1 15 | 16LL | trait TensorDimension { 17 | ^^^^^^^^^^^^^^^^^^^^^ 18 = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0391`.