1 2 3 4 5 6 7 8 9 10
fn foo(x: fn()) { bind x(); //! ERROR cannot bind fn closures } fn bar(x: fn&()) { bind x(); //! ERROR cannot bind fn& closures } fn main() { }