Skip to content

Commit 0824d15

Browse files
committed
rustc: Add ty_rptr support to the visitor
1 parent 0e17cdb commit 0824d15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustc/syntax/visit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ fn visit_ty<E>(t: @ty, e: E, v: vt<E>) {
171171
ty_uniq(mt) { v.visit_ty(mt.ty, e, v); }
172172
ty_vec(mt) { v.visit_ty(mt.ty, e, v); }
173173
ty_ptr(mt) { v.visit_ty(mt.ty, e, v); }
174+
ty_rptr(_, mt) { v.visit_ty(mt.ty, e, v); }
174175
ty_rec(flds) {
175176
for f: ty_field in flds { v.visit_ty(f.node.mt.ty, e, v); }
176177
}

0 commit comments

Comments
 (0)