diff --git a/deltachat-jsonrpc/src/api/types/events.rs b/deltachat-jsonrpc/src/api/types/events.rs index fab754202..34ccdf395 100644 --- a/deltachat-jsonrpc/src/api/types/events.rs +++ b/deltachat-jsonrpc/src/api/types/events.rs @@ -409,6 +409,9 @@ impl From for EventType { }, CoreEventType::ChatlistChanged => ChatlistChanged, CoreEventType::EventChannelOverflow { n } => EventChannelOverflow { n }, + #[allow(unreachable_patterns)] + #[cfg(test)] + _ => unreachable!("This is just to silence a rust_analyzer false-positive"), } } }