diff --git a/src/utils/content_safe.rs b/src/utils/content_safe.rs index 5c1ad0adb4d..2ea1dc122c4 100644 --- a/src/utils/content_safe.rs +++ b/src/utils/content_safe.rs @@ -361,12 +361,14 @@ mod tests { content_safe(&cache, "<@100000000000000001>", &options, &[outside_cache_user]) ); + #[allow(deprecated)] let options = options.show_discriminator(false); assert_eq!( format!("@{}", user.name), content_safe(&cache, "<@!100000000000000000>", &options, &[]) ); + #[allow(deprecated)] let options = options.show_discriminator(false); assert_eq!( format!("@{}", user.name),