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

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

Update needed for Rust v1.77.1

error: field `0` is never read
  --> frameworks/native/libs/gui/rust/aidl_types/src/lib.rs:27:26
   |
27 |         pub struct $name(Option<()>);
   |                          ^^^^^^^^^^
...
44 | stub_unstructured_parcelable!(BitTube);
   | --------------------------------------
   | |                             |
   | |                             field in this struct
   | in this macro invocation
   |
   = note: `BitTube` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`
   = note: this error originates in the macro `stub_unstructured_parcelable` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
27 |         pub struct $name(());
   |                          ~~

Bug: http://b/330185853
Test: m rust
Change-Id: I8ecaba1f86e00b3ed480e423064edc47153c1244
parent 7fb4a671
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