("quad_precision_float", Removed),
("rustc_diagnostic_macros", Active),
+ ("unboxed_closures", Active),
+
+ // if you change this list without updating src/doc/rust.md, cmr will be sad
// A temporary feature gate used to enable parser extensions needed
// to bootstrap fix for #5723.
ast::ExprUnary(ast::UnBox, _) => {
self.gate_box(e.span);
}
+ ast::ExprUnboxedFn(..) => {
+ self.gate_feature("unboxed_closures",
+ e.span,
+ "unboxed closures are a work-in-progress \
+ feature with known bugs");
+ }
_ => {}
}
visit::walk_expr(self, e, ());