#![feature(box_syntax)] struct Test { func: Box } fn main() { let closure: Box = Box::new(|| ()); let test = box Test { func: closure }; //~ ERROR mismatched types }