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
{{ message }}
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
Hello, I encountered error when building limn with rustc 1.24.
Compiling ordered_iter v0.1.0
error[E0277]: the trait bound `B: bit_vec::BitBlock` is not satisfied
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered_iter-0.1.0/src/lib.rs:285:32
|
285 | impl<'a, B: bit_vec::BitBlock> OrderedSetIterator for bit_set::Iter<'a, B> {}
| ^^^^^^^^^^^^^^^^^^ the trait `bit_vec::BitBlock` is not implemented for `B`
|
= help: consider adding a `where B: bit_vec::BitBlock` bound
= note: required because of the requirements on the impl of `std::iter::Iterator` for `bit_set::Iter<'a, B>`
error: aborting due to previous error
error: Could not compile `ordered_iter`.
warning: build failed, waiting for other jobs to finish...
error: build failed
I tried to add the where block as rust recommends, but the error stays exactly the same.
Commenting out this line with impl works, the library gets built and even examples can be built.
This error seems to be in stable_bst library which uses ordered_iter internally, but these two crates seem to be no longer maintained.
stable_bst library is used only in limn/core/src/input/keyboard.rs, it uses TreeMap and ranges from this crate.
Maybe the best thing to do is just wait for ranges to be stabilized in rust and just remove this library altogether and use std BTreeMap as written in this comment.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I encountered error when building limn with rustc 1.24.
I tried to add the
where
block as rust recommends, but the error stays exactly the same.Commenting out this line with impl works, the library gets built and even examples can be built.
This error seems to be in stable_bst library which uses ordered_iter internally, but these two crates seem to be no longer maintained.
stable_bst library is used only in limn/core/src/input/keyboard.rs, it uses TreeMap and ranges from this crate.
Maybe the best thing to do is just wait for ranges to be stabilized in rust and just remove this library altogether and use std BTreeMap as written in this comment.
The text was updated successfully, but these errors were encountered: