Closed
Description
This sample code:
#![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!
On rustc 5263600.