1
Fork 0

rustc: Add ty_rptr support to the visitor

This commit is contained in:
Patrick Walton 2012-03-08 14:23:02 -08:00
parent 0e17cdb627
commit 0824d1501b

View file

@ -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); }
}