Fix ui tests.

This commit is contained in:
Stephen Chung
2020-10-15 14:06:54 +08:00
parent 3c9250b0bf
commit 8abb3c5203
6 changed files with 13 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ pub(crate) fn generate_body(
if itemmod.skipped() {
continue;
}
let module_name: &syn::Ident = itemmod.module_name().unwrap();
let module_name = itemmod.module_name().unwrap();
let exported_name: syn::LitStr = if let Some(name) = itemmod.exported_name() {
syn::LitStr::new(&name, proc_macro2::Span::call_site())
} else {