From 89dbf88e51abd07c79c09bc005fc7d431e1f4d75 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 15 Jun 2024 00:41:05 +0800 Subject: [PATCH] suppress warning from latest rust --- services/usb-device-xous/src/hid.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/usb-device-xous/src/hid.rs b/services/usb-device-xous/src/hid.rs index 3044060ad..7e1c358ce 100644 --- a/services/usb-device-xous/src/hid.rs +++ b/services/usb-device-xous/src/hid.rs @@ -92,6 +92,7 @@ impl<'a, B: UsbBus + 'a> UsbAllocatable<'a, B> for AppHIDConfig<'a> { } #[derive(Debug)] +#[allow(dead_code)] pub enum AppHIDError { /// Returned when the maximum amount of packets allowed to stay in AppHID is reached, and the /// oldest is dropped.