From 05e7ae87b8c44a194735aae9f9331a54424913b2 Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Thu, 8 Apr 2021 01:04:41 -0700 Subject: Suppress unknown clippy lints Since this is code suppressing new clippy lints, it also makes sense to allow it to suppress lints which don't exist yet for compatibility with older clippy. Test: m Bug: 184799689 Change-Id: I7953a252885078932e7f7312414237b6375af331 --- macro/src/expand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macro/src/expand.rs b/macro/src/expand.rs index 12e4fe08..7c194ad2 100644 --- a/macro/src/expand.rs +++ b/macro/src/expand.rs @@ -131,7 +131,7 @@ fn expand(ffi: Module, doc: Doc, attrs: OtherAttrs, apis: &[Api], types: &Types) #doc #attrs #[deny(improper_ctypes)] - #[allow(non_camel_case_types, non_snake_case, clippy::upper_case_acronyms)] + #[allow(non_camel_case_types, non_snake_case, clippy::upper_case_acronyms, clippy::unknown_clippy_lints)] #vis #mod_token #ident #expanded } } -- cgit v1.2.3