diff --git a/src/librustc/middle/trans/closure.rs b/src/librustc/middle/trans/closure.rs index 16db4daba46..4f6d4ab6a24 100644 --- a/src/librustc/middle/trans/closure.rs +++ b/src/librustc/middle/trans/closure.rs @@ -322,7 +322,6 @@ fn load_unboxed_closure_environment<'blk, 'tcx>( self_type, "unboxed_closure_env"); store_ty(bcx, bcx.fcx.llenv.unwrap(), datum.val, self_type); - assert!(freevars.len() <= 1); datum.val } else { bcx.fcx.llenv.unwrap()