Update needed for Rust v1.77.1
error: field `0` is never read --> frameworks/native/libs/gui/rust/aidl_types/src/lib.rs:28:26 | 28 | pub struct $name(Option<()>); | ^^^^^^^^^^ ... 45 | 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 | 28 | pub struct $name(()); Bug: http://b/330185853 Test: m rust Change-Id: I3d70ca45d88a1c3817b23696ba49a2bbf9e7b9df
Loading
Please register or sign in to comment