Elektrine lite

← Feed

@lofty@furry.engineer

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)