summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-18711.rs
blob: 5cb1f9c43718e7ef166cb19c35d53c336f98dabb (plain)
1
2
3
4
5
#![crate_type = "rlib"]

pub fn inner<F>(f: F) -> F {
    (move || f)()
}