diff --git a/crates/wit-component/src/gc.rs b/crates/wit-component/src/gc.rs index 71a58e4d26..b1f7437343 100644 --- a/crates/wit-component/src/gc.rs +++ b/crates/wit-component/src/gc.rs @@ -939,6 +939,7 @@ impl<'a> Module<'a> { macro_rules! define_visit { ($(@$p:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident ($($ann:tt)*))*) => { $( + #[allow(unused_variables)] fn $visit(&mut self $(, $($arg: $argty),*)?) { $( $(