summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-51154.rs
blob: 12903f79010cbafd3118ed660301446afcf797a5 (plain)
1
2
3
4
5
6
fn foo<F: FnMut()>() {
    let _: Box<F> = Box::new(|| ());
    //~^ ERROR mismatched types
}

fn main() {}