* `if_let` - Allows use of the `if let` syntax.
+* `while_let` - Allows use of the `while let` syntax.
+
* `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
are inherently unstable and no promise about them is made.
("slicing_syntax", Active),
("if_let", Active),
+ ("while_let", Active),
// if you change this list without updating src/doc/reference.md, cmr will be sad
e.span,
"slicing syntax is experimental");
}
+ ast::ExprWhileLet(..) => {
+ self.gate_feature("while_let", e.span,
+ "`while let` syntax is experimental");
+ }
_ => {}
}
visit::walk_expr(self, e);