diff --git a/crates/teloxide/tests/command.rs b/crates/teloxide/tests/command.rs index 0a7dab22..6515711a 100644 --- a/crates/teloxide/tests/command.rs +++ b/crates/teloxide/tests/command.rs @@ -234,6 +234,7 @@ fn descriptions_off() { enum DefaultCommands { #[command(hide)] Start, + #[allow(deprecated)] #[command(description = "off")] Username, /// off