Disowned the Visitor.
This commit is contained in:
parent
4e622becdc
commit
3119d18e55
57 changed files with 1039 additions and 1142 deletions
|
|
@ -1128,7 +1128,7 @@ mod test {
|
|||
|
||||
impl Visitor<()> for NewPathExprFinderContext {
|
||||
|
||||
fn visit_expr(&mut self, expr: @ast::Expr, _: ()) {
|
||||
fn visit_expr(&mut self, expr: &ast::Expr, _: ()) {
|
||||
match *expr {
|
||||
ast::Expr{id:_,span:_,node:ast::ExprPath(ref p)} => {
|
||||
self.path_accumulator.push(p.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue