aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2024-03-13 12:25:23 -0400
committerNick Mathewson <nickm@torproject.org>2024-03-13 12:30:41 -0400
commit166121d1967c7dd0ce71f1da3dc9504ce422eb9a (patch)
tree7709a60bb6e616a5a91c19f720cfc7c3a91f4300
parent3788d1b69115ea757a441fc5b0e9f89b5093d99e (diff)
downloadarti-166121d1967c7dd0ce71f1da3dc9504ce422eb9a.tar.gz
arti-166121d1967c7dd0ce71f1da3dc9504ce422eb9a.zip
maint/add_warning: permit clippy::mixed_attributes_style in tests.
This is a new warning on nightly. It triggers for every one of our test blocks that starts with `#[cfg(test)]` and then goes on to have an `#![allow(...)]` block at the start of the module.
-rwxr-xr-xmaint/add_warning1
1 files changed, 1 insertions, 0 deletions
diff --git a/maint/add_warning b/maint/add_warning
index d26a32536..eaf19dcb8 100755
--- a/maint/add_warning
+++ b/maint/add_warning
@@ -62,6 +62,7 @@ TEST_LINTS = """
#![allow(clippy::bool_assert_comparison)]
#![allow(clippy::clone_on_copy)]
#![allow(clippy::dbg_macro)]
+#![allow(clippy::mixed_attributes_style)]
#![allow(clippy::print_stderr)]
#![allow(clippy::print_stdout)]
#![allow(clippy::single_char_pattern)]