Change request for Rust v1.70.0
error: redundant clone --> packages/modules/Bluetooth/system/gd/rust/gddi/macros/lib.rs:19:35 | 19 | let ident = function.sig.ident.clone(); | ^^^^^^^^ help: remove this | note: cloned value is neither consumed nor mutated --> packages/modules/Bluetooth/system/gd/rust/gddi/macros/lib.rs:19:17 | 19 | let ident = function.sig.ident.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone = note: `-D clippy::redundant-clone` implied by `-D warnings Test:./toolchain/android_rust/test_compiler.py --prebuilt-path dist/rust-dev.tar.gz --target aosp_cf_x86_64_phone Bug: 285036397 Change-Id: Id327eccc147ee852426b3c93e91bfa21eb02d423
Loading
Please register or sign in to comment