blob: 12903f79010cbafd3118ed660301446afcf797a5 [file] [log] [blame]
fn foo<F: FnMut()>() {
let _: Box<F> = Box::new(|| ());
//~^ ERROR mismatched types
}
fn main() {}