Skip to content

Commit

Permalink
rustc: Add ty_rptr support to the visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
pcwalton committed Mar 8, 2012
1 parent 0e17cdb commit 0824d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rustc/syntax/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ fn visit_ty<E>(t: @ty, e: E, v: vt<E>) {
ty_uniq(mt) { v.visit_ty(mt.ty, e, v); }
ty_vec(mt) { v.visit_ty(mt.ty, e, v); }
ty_ptr(mt) { v.visit_ty(mt.ty, e, v); }
ty_rptr(_, mt) { v.visit_ty(mt.ty, e, v); }
ty_rec(flds) {
for f: ty_field in flds { v.visit_ty(f.node.mt.ty, e, v); }
}
Expand Down

0 comments on commit 0824d15

Please sign in to comment.