diff --git a/crates/teloxide/tests/command.rs b/crates/teloxide/tests/command.rs index c1417c4f..379958b4 100644 --- a/crates/teloxide/tests/command.rs +++ b/crates/teloxide/tests/command.rs @@ -583,5 +583,6 @@ fn custom_result() { type Result = (); #[derive(BotCommands, Debug, PartialEq)] + #[allow(dead_code)] enum DefaultCommands {} }