Skip to content

Commit 6ed1e41

Browse files
committed
Disable unused_lint_expectations warnings too; sometimes the aliases are used.
1 parent 6f2b1b1 commit 6ed1e41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ impl RustWasm {
398398
TypeGeneration::Remap(remapped_path) => {
399399
let name = format!("__with_name{}", self.with_name_counter);
400400
self.with_name_counter += 1;
401-
uwriteln!(self.src, "#[allow(unused_imports)]");
401+
uwriteln!(self.src, "#[allow(unfulfilled_lint_expectations, unused_imports)]");
402402
uwriteln!(self.src, "use {remapped_path} as {name};");
403403
InterfaceName {
404404
remapped: true,

0 commit comments

Comments
 (0)