// run-pass struct Test { func: Box, } fn main() { let closure: Box = Box::new(|| ()); let mut test = Box::new(Test { func: closure }); (test.func)(); }