mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Allow dead_code
in a test
rustc seems to have some changes with the `dead_code` lints which affect this.
This commit is contained in:
parent
6f1b48ca92
commit
6a299f6012
1 changed files with 1 additions and 0 deletions
|
@ -583,5 +583,6 @@ fn custom_result() {
|
|||
type Result = ();
|
||||
|
||||
#[derive(BotCommands, Debug, PartialEq)]
|
||||
#[allow(dead_code)]
|
||||
enum DefaultCommands {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue