diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-06 14:00:46 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-06 14:00:46 +0200 |
| commit | 3119d18e55fd393641cd744545f350807c4ee7b8 (patch) | |
| tree | 5b7313e2a6dae8ac968c6c2bd642586bd4e19da5 /src/libsyntax/ext | |
| parent | 4e622becdc5fb4e07f95550c3a59fd909b97e5bb (diff) | |
| download | rust-3119d18e55fd393641cd744545f350807c4ee7b8.tar.gz rust-3119d18e55fd393641cd744545f350807c4ee7b8.zip | |
Disowned the Visitor.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index aa7c26805c3..29dd20d2bcc 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -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()); |
