Skip to content

Commit 61425c8

Browse files
committed
Convert remaning ivec decls to new syntax
These snuck in during rebasing
1 parent 00ccd6b commit 61425c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/comp/back/upcall.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn declare_upcalls(tn: type_names, tydesc_type: TypeRef,
7979
ret trans::decl_cdecl_fn(llmod, "upcall_" + name, fn_ty);
8080
}
8181
fn decl_with_taskptr(taskptr_type: TypeRef, tn: type_names,
82-
llmod: ModuleRef, name: str, tys: TypeRef[],
82+
llmod: ModuleRef, name: str, tys: [TypeRef],
8383
rv: TypeRef) -> ValueRef {
8484
ret decl(tn, llmod, name, ~[taskptr_type] + tys, rv);
8585
}

src/comp/middle/tstate/pre_post_conditions.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ fn handle_var(fcx: &fn_ctxt, rslt: &pre_and_post, id: node_id, name: ident) {
317317
}
318318
319319
fn forget_args_moved_in(fcx: &fn_ctxt, parent: &@expr,
320-
modes: &ty::mode[],
321-
operands: &(@expr)[]) {
320+
modes: &[ty::mode],
321+
operands: &[@expr]) {
322322
let i = 0;
323323
for mode: ty::mode in modes {
324324
if mode == ty::mo_move {

0 commit comments

Comments
 (0)