parent
45cbdec417
commit
bb0a719434
1 changed files with 3 additions and 4 deletions
|
@ -482,8 +482,7 @@ pub fn trans_unboxed_closure<'blk, 'tcx>(
|
|||
bcx,
|
||||
closure_id).unwrap();
|
||||
|
||||
let unboxed_closures = bcx.tcx().unboxed_closures.borrow();
|
||||
let function_type = (*unboxed_closures)[closure_id]
|
||||
let function_type = (*bcx.tcx().unboxed_closures.borrow())[closure_id]
|
||||
.closure_type
|
||||
.clone();
|
||||
let function_type = ty::mk_closure(bcx.tcx(), function_type);
|
||||
|
|
Loading…
Reference in a new issue