Build error without --locked: multiple PartialOrd impls
Just trying to install a fresh clone (main @ 9411ee31) without –locked results in:
error[E0283]: type annotations needed
--> src/ui/im/widget.rs:392:85
|
392 | let show_scrollbar = self.show_scrollbar && self.items.len() >= area.height.into();
| -- ^^^^
| |
| type must be known at this point
|
= note: multiple `impl`s satisfying `usize: PartialOrd<_>` found in the following crates: `core`, `deranged`:
- impl PartialOrd for usize;
- impl<MIN, MAX> PartialOrd<deranged::RangedUsize<MIN, MAX>> for usize
where the constant `MIN` has type `usize`, the constant `MAX` has type `usize`;
help: try using a fully qualified path to specify the expected types
|
392 | let show_scrollbar = self.show_scrollbar && self.items.len() >= <u16 as Into<T>>::into(area.height);
| +++++++++++++++++++++++ ~
This can be closed IMO, as this is not true as of main @ a2de36ddfb307f77de0d666944f520e5ea51e418 anymore.
Unfortunately, it still happens, but for another reason:
Going to bump the pinned toolchain version now