diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-11-26 03:22:21 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-11-26 03:22:21 +0900 |
| commit | 9028330f39d28a8719b0b63dc5edcc1a70a69f02 (patch) | |
| tree | 401345519a4790c560f8ddabe80a1a0149b169cb /src/libsyntax/ext | |
| parent | eb5cbfebfd2a1524a2c366dc220a8de0d4f08b13 (diff) | |
| download | rust-9028330f39d28a8719b0b63dc5edcc1a70a69f02.tar.gz rust-9028330f39d28a8719b0b63dc5edcc1a70a69f02.zip | |
Take &Pat in visit_pat
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 f69a0433347..9b6f2a275ee 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -612,7 +612,7 @@ struct NewNameFinderContext { } impl Visitor<()> for NewNameFinderContext { - fn visit_pat(&mut self, pattern: @ast::Pat, _: ()) { + fn visit_pat(&mut self, pattern: &ast::Pat, _: ()) { match *pattern { // we found a pat_ident! ast::Pat { |
