diff --git a/src/compile.rs b/src/compile.rs index 161a7e0f..f3274658 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -26,7 +26,7 @@ fn _compile_host(host: &Host) -> Result { .filter_map(|(name, def)| Some((name, def.downcast_ref::>()?))) .map(|(raw_name, def)| (raw_name, sanitize_name(raw_name), def)); - writeln!(code, "#![allow(non_upper_case_globals, unused_imports)]")?; + writeln!(code, "#![allow(non_camel_case_types, unused_imports, unused_variables)]")?; writeln!( code, "use crate::{{host::{{Host, DefRef}}, stdlib::{{AsHostedDef, HostedDef}}, run::*, ops::{{TypedOp, Ty::*, Op::*}}}};"