From 91292e71c06ef507a4f90f5e81ada07f50b3891f Mon Sep 17 00:00:00 2001 From: Yusuf Simonson Date: Sun, 18 Nov 2018 19:19:03 -0500 Subject: [PATCH] Revert "Ignore clippy warnings on deprecated methods", due to https://github.com/rust-lang/rust/issues/54406 This reverts commit 427eaa722b1437817565942818ba24ae121a171f. --- capnpc/src/codegen.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/capnpc/src/codegen.rs b/capnpc/src/codegen.rs index c6abc94a4..856dd9dbf 100644 --- a/capnpc/src/codegen.rs +++ b/capnpc/src/codegen.rs @@ -1371,7 +1371,6 @@ fn generate_node(gen: &GeneratorContext, Indent( Box::new(Branch(vec![ Line("#[deprecated(since=\"0.9.2\", note=\"use into_reader()\")]".to_string()), - Line("#[allow(clippy::wrong_self_convention)]".to_string()), Line(format!("pub fn as_reader(self) -> Reader<'a,{}> {{", params.params)), Indent(Box::new(Line("self.into_reader()".to_string()))), Line("}".to_string()), @@ -1692,7 +1691,6 @@ fn generate_node(gen: &GeneratorContext, }), Indent(Box::new(Branch( vec!( Line("#[deprecated(since=\"0.9.2\", note=\"use into_client()\")]".to_string()), - Line("#[allow(clippy::wrong_self_convention)]".to_string()), Line(format!("pub fn from_server<_T: ::capnp::private::capability::ServerHook>(self) -> Client{} {{", bracketed_params)), Indent( Box::new(Line("self.into_client::<_T>()".to_string()))),