diff options
| author | Jakub Bukaj <jakub@jakub.cc> | 2014-11-19 23:06:53 +0100 |
|---|---|---|
| committer | Jakub Bukaj <jakub@jakub.cc> | 2014-11-19 23:34:01 +0100 |
| commit | ee66c841655c3abb528841704d991c4a5a67ff9d (patch) | |
| tree | 586a16ef24193ba5fb488f5470c1f156ac31c984 /src/libsyntax | |
| parent | 2e9f705b930901a406eeba3cf2b01c015cb86b4d (diff) | |
| download | rust-ee66c841655c3abb528841704d991c4a5a67ff9d.tar.gz rust-ee66c841655c3abb528841704d991c4a5a67ff9d.zip | |
Fixes to the roll-up
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/visit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/visit.rs b/src/libsyntax/visit.rs index 1eae5286d79..41a7ce7d78e 100644 --- a/src/libsyntax/visit.rs +++ b/src/libsyntax/visit.rs @@ -212,7 +212,7 @@ pub fn walk_local<'v, V: Visitor<'v>>(visitor: &mut V, local: &'v Local) { pub fn walk_lifetime_def<'v, V: Visitor<'v>>(visitor: &mut V, lifetime_def: &'v LifetimeDef) { - visitor.visit_lifetime_ref(&lifetime_def.lifetime); + visitor.visit_name(lifetime_def.lifetime.span, lifetime_def.lifetime.name); for bound in lifetime_def.bounds.iter() { visitor.visit_lifetime_ref(bound); } |
