// Test that overloaded calls work with zero arity closures fn main() { let functions: [Box Option<()>>; 1] = [Box::new(|| None)]; let _val: Option> = functions.iter().map(|f| (*f)()).collect(); }