1
Fork 0

rustc: Add missing case for interior vectors in alias.rs

This commit is contained in:
Patrick Walton 2011-06-17 19:02:30 -07:00
parent 7fc89f573d
commit 5894e400b6

View file

@ -521,6 +521,12 @@ fn expr_root(&ctx cx, @ast::expr ex, bool autoderef) ->
kind=index,
outer_t=auto_unbox.t));
}
case (ty::ty_ivec(?mt)) {
vec::push(ds,
rec(mut=mt.mut != ast::imm,
kind=index,
outer_t=auto_unbox.t));
}
}
maybe_push_auto_unbox(auto_unbox.d, ds);
ex = base;