Moving the #[allow(deprecated)] to the descriptions_off test

Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
TheAwiteb 2023-09-20 18:42:49 +03:00
parent f979cc4f26
commit 9b58195fe9
No known key found for this signature in database
GPG key ID: ABF818BD15DC2D34

View file

@ -228,13 +228,13 @@ fn parse_named_fields() {
#[test]
#[cfg(feature = "macros")]
#[allow(deprecated)]
fn descriptions_off() {
#[derive(BotCommands, Debug, PartialEq)]
#[command(rename_rule = "lowercase")]
enum DefaultCommands {
#[command(hide)]
Start,
#[allow(deprecated)]
#[command(description = "off")]
Username,
/// off