rustc: Add missing case for interior vectors in alias.rs
This commit is contained in:
parent
7fc89f573d
commit
5894e400b6
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue