You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While rustc 1.80.0 compiles without issues, rustc 1.81.0 gives the following error:
Compiling triangulate v0.2.0
error[E0275]: overflow evaluating the requirement `<OldIndex as Mappable<_>>::Output<_>: Mappable<_>`
--> dir\.cargo\registry\src\index.crates.io-6f17d22bba15001f\triangulate-0.2.0\src\inputs\polygon_list.rs:489:9
|
489 | IndexWithIter::new(self.0.iter_indices())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`triangulate`)
note: required by a bound in `IndexWithIter::<'i, Iter, OldIndex, New, Old>::new`
--> dir\.cargo\registry\src\index.crates.io-6f17d22bba15001f\triangulate-0.2.0\src\inputs\polygon_list.rs:397:63
|
397 | OldIndex::Output<New>: VertexIndex + crate::Mappable<New, Output<Old> = OldIndex>,
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `IndexWithIter::<'i, Iter, OldIndex, New, Old>::new`
398 | {
399 | pub(crate) fn new(iter: Iter) -> Self {
| --- required by a bound in this associated function
For more information about this error, try `rustc --explain E0275`.
error: could not compile `triangulate` (lib) due to 1 previous error
I looked into fixing this myself, but I'm out of my depth with the trait complexity of this part of the library.
The text was updated successfully, but these errors were encountered:
Sorry for the delayed response! The compiler change (rust-lang/rust#126128) that resulted in this breakage has a followup (rust-lang/rust#129073) landing in 1.83 (November 28) that makes this work again.
In the meantime, you can use the beta toolchain: rustup toolchain install beta cargo +beta build
While rustc 1.80.0 compiles without issues, rustc 1.81.0 gives the following error:
I looked into fixing this myself, but I'm out of my depth with the trait complexity of this part of the library.
The text was updated successfully, but these errors were encountered: