From 586fd3cbedb964b13aa8f32e7df0f57a7000af09 Mon Sep 17 00:00:00 2001 From: Enrico Zandomeni Borba Date: Fri, 19 Apr 2024 20:52:04 +0200 Subject: [PATCH] simpler clippy allow --- src/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.rs b/src/compile.rs index dca119e7..7574cdf1 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -37,7 +37,7 @@ fn _compile_host(host: &Host) -> Result { } } - writeln!(code, "#![allow(non_camel_case_types, unused_imports, unused_variables)]")?; + writeln!(code, "#![allow(warnings)]")?; writeln!( code, "use crate::{{host::Host, stdlib::{{AsHostedDef, HostedDef}}, run::*, ops::{{TypedOp, Ty::*, Op::*}}}};"