Skip to content

Commit b34edaf

Browse files
authored
Fix new warnings on nightly (#2350)
* Fix new warnings on nightly Some unused variable warnings are cropping up on nightly now that the compiler presumably checks a bit more deeply for unused variables. * Remove reason
1 parent ff5111f commit b34edaf

File tree

1 file changed

+1
-0
lines changed
  • crates/wit-component/src

1 file changed

+1
-0
lines changed

crates/wit-component/src/gc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,7 @@ impl<'a> Module<'a> {
939939
macro_rules! define_visit {
940940
($(@$p:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident ($($ann:tt)*))*) => {
941941
$(
942+
#[allow(unused_variables)]
942943
fn $visit(&mut self $(, $($arg: $argty),*)?) {
943944
$(
944945
$(

0 commit comments

Comments
 (0)