Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ad1b27ce authored by Charisee Chiw's avatar Charisee Chiw
Browse files

Update needed for Rust v1.73.0

error: incorrect implementation of `partial_cmp` on an `Ord` type
   --> frameworks/native/libs/binder/rust/src/binder.rs:437:1
    |
437 | /  impl<I: FromIBinder + ?Sized> PartialOrd for Strong<I> {
438 | |      fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
    | | _____________________________________________________________-
439 | ||         self.0.as_binder().partial_cmp(&other.0.as_binder())
440 | ||     }
    | ||_____- help: change this to: `{ Some(self.cmp(other)) }`
441 | |  }
    | |__^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
    = note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default

Bug: 303252546
Test: ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz  --target aosp_cf_x86_64_phone --image
Change-Id: Ied87ef07475b0ed8e430b622be68b211d58ef89f
parent 91600505
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment