From cb4bddf60aa8af5147084019e4300d662cbc1fce Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 23 Oct 2019 03:05:02 +0200 Subject: [PATCH] Disable clippy lint use_self for ruma-events-macros --- ruma-events-macros/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruma-events-macros/src/lib.rs b/ruma-events-macros/src/lib.rs index 5fd98f9a..8ba09dda 100644 --- a/ruma-events-macros/src/lib.rs +++ b/ruma-events-macros/src/lib.rs @@ -2,7 +2,6 @@ //! [ruma-events](https://github.com/ruma/ruma-events) events. //! //! See the documentation for the `ruma_event!` macro for usage details. -//! #![deny( missing_copy_implementations, missing_debug_implementations, @@ -28,6 +27,8 @@ clippy::wrong_pub_self_convention, clippy::wrong_self_convention )] +// Since we support Rust 1.34.2, we can't apply this suggestion yet +#![allow(clippy::use_self)] #![recursion_limit = "128"] extern crate proc_macro;