blob: 927102981e7f9ce72f0564fda24b4bd187cfe5dc [file] [log] [blame]
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
type Connection = Box<FnMut(Vec<u8>) + 'static>;
fn f() -> Option<Connection> {
let mock_connection: Connection = Box::new(|_| {});
Some(mock_connection)
}
pub fn main() {
}