Fix allow declaration

This commit is contained in:
Nick Fitzgerald
2021-10-22 14:40:26 -07:00
committed by Chris Fallin
parent 7fab7c5eab
commit 0411b20871

View File

@@ -71,7 +71,7 @@ impl<'a> Codegen<'a> {
"#![allow(unused_imports, unused_variables, non_snake_case)]" "#![allow(unused_imports, unused_variables, non_snake_case)]"
) )
.unwrap(); .unwrap();
writeln!(code, "#[allow(irrefutable_let_patterns)]").unwrap(); writeln!(code, "#![allow(irrefutable_let_patterns)]").unwrap();
writeln!(code, "\nuse super::*; // Pulls in all external types.").unwrap(); writeln!(code, "\nuse super::*; // Pulls in all external types.").unwrap();
} }