//@ run-pass #![allow(dead_code)] //@ pretty-expanded FIXME #23616 type Connection = Box) + 'static>; fn f() -> Option { let mock_connection: Connection = Box::new(|_| {}); Some(mock_connection) } pub fn main() { }