rustc: Add ty_rptr support to the visitor
This commit is contained in:
parent
0e17cdb627
commit
0824d1501b
1 changed files with 1 additions and 0 deletions
|
@ -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); }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue