Fix allow declaration
This commit is contained in:
committed by
Chris Fallin
parent
7fab7c5eab
commit
0411b20871
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user