1 2 3 4 5 6
fn fmt(it: &(std::cell::Cell<Option<impl FnOnce()>>,)) { (it.0.take())() //~^ ERROR expected function } fn main() {}