You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#![feature(unboxed_closures)]
#[allow(unused_variables)]
fn main() {
let a = Some(5u);
let b = box move || { println!("{}", a); };
}
produces this output:
Stored value type does not match pointer operand type!
store %"enum.core::option::Option<[uint]>[#3]" %6, %"enum.core::option::Option<[uint]>[#3]"** %7
%"enum.core::option::Option<[uint]>[#3]"*LLVM ERROR: Broken function found, compilation aborted!