1
Fork 0

Add postfix-match experimental feature

Co-authored-by: Josh Stone <jistone@redhat.com>
This commit is contained in:
Ross Smyth 2024-02-15 19:54:35 -05:00
parent 62415e2a95
commit 68a58f255a
13 changed files with 226 additions and 1 deletions

View file

@ -555,6 +555,8 @@ declare_features! (
(unstable, offset_of_nested, "1.77.0", Some(120140)),
/// Allows using `#[optimize(X)]`.
(unstable, optimize_attribute, "1.34.0", Some(54882)),
/// Allows postfix match `expr.match { ... }`
(unstable, postfix_match, "CURRENT_RUSTC_VERSION", Some(121618)),
/// Allows macro attributes on expressions, statements and non-inline modules.
(unstable, proc_macro_hygiene, "1.30.0", Some(54727)),
/// Allows `&raw const $place_expr` and `&raw mut $place_expr` expressions.