[ty] Skip over expressions in auto-import AST scanning

This commit is contained in:
Andrew Gallant 2025-12-04 12:09:15 -05:00 committed by Andrew Gallant
parent 5da45f8ec7
commit 086f1e0b89
1 changed files with 4 additions and 0 deletions

View File

@ -569,6 +569,10 @@ impl SourceOrderVisitor<'_> for SymbolVisitor {
}
}
}
// TODO: We might consider handling walrus expressions
// here, since they can be used to introduce new names.
fn visit_expr(&mut self, _expr: &ast::Expr) {}
}
#[cfg(test)]