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

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

Change request for Rust v1.68.0

error: this `impl` can be derived
   --> frameworks/native/libs/binder/rust/src/binder.rs:113:1
    |
113 | / impl Default for Stability {
114 | |     fn default() -> Self {
115 | |         Stability::Local
116 | |     }
117 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
    = note: `-D clippy::derivable-impls` implied by `-D warnings`
    = help: remove the manual implementation...
help: ...and instead derive it...
    |
104 | #[derive(Default)]
    |
help: ...and mark the default variant
    |
107 ~     #[default]
108 ~     Local,
    |

bug: 270756468
Test: test_compiler.py
Change-Id: Iafe539357b050069babf9a910dc3877a9bf2c75e
parent 19ce0cba
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