You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn main() {
fn# foo<T>() { }
// This wants to build a closure over type int,
// but there's no way to do that while still being a bare function
let f: fn#() = foo::<int>;
}
As a result we can't do bare-fn spawn for generic functions, which is pretty important: