2026-03-24 18:42 UTC
hey rust compiler??
error[E0053]: method `handle_event` has an incompatible type for trait
--> src/main.rs:86:57
|
86 | fn handle_event<'a, 'b>(&'a mut self, event_packet: bt_hci::event::EventPacket<'b>) -> EventBubbling {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bt_hci::event::EventPacket<'b>`, found `EventPacket<'_>`
|
= note: expected signature `fn(&'a mut BleEventContext, bt_hci::event::EventPacket<'b>) -> flipperzero::bluetooth::handler::EventBubbling`
found signature `fn(&mut BleEventContext, EventPacket<'_>) -> flipperzero::bluetooth::handler::EventBubbling`
...what?
Replies (1)
-
@lofty@furry.engineer 2026-03-24 19:02
ohhhh I think it's a reexport issue