diff options
| author | 2024-04-11 15:03:03 -0700 | |
|---|---|---|
| committer | 2024-04-11 15:03:03 -0700 | |
| commit | 2671fb8f793aef496f2d6a2a01be59de94f7fe92 (patch) | |
| tree | 633dcc6271e1b121d0435fde693c676fb7bc7c30 | |
| parent | a89ee5d3ab56122ad73a3764e04e94dde4adab92 (diff) | |
Enable lint again after update to Rust v1.77.1
Test: Build and run
Bug: 333894983
Change-Id: Iae60819c9345b44f716183d746454a35f190b9e2
| -rw-r--r-- | libs/gui/rust/aidl_types/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/gui/rust/aidl_types/src/lib.rs b/libs/gui/rust/aidl_types/src/lib.rs index 4e86ed6572..fead018bbf 100644 --- a/libs/gui/rust/aidl_types/src/lib.rs +++ b/libs/gui/rust/aidl_types/src/lib.rs @@ -20,13 +20,11 @@ use binder::{ StatusCode, }; -#[allow(dead_code)] macro_rules! stub_unstructured_parcelable { ($name:ident) => { /// Unimplemented stub parcelable. - #[allow(dead_code)] #[derive(Debug, Default)] - pub struct $name(Option<()>); + pub struct $name(()); impl UnstructuredParcelable for $name { fn write_to_parcel(&self, _parcel: &mut BorrowedParcel) -> Result<(), StatusCode> { |