1
Fork 0

Add gate for precise capturing in traits

This commit is contained in:
Michael Goulet 2024-09-29 13:08:48 -04:00 committed by Jubilee Young
parent 8d94e06ec9
commit b7297ac440
10 changed files with 54 additions and 5 deletions

View file

@ -565,6 +565,8 @@ declare_features! (
(incomplete, pin_ergonomics, "CURRENT_RUSTC_VERSION", Some(130494)),
/// Allows postfix match `expr.match { ... }`
(unstable, postfix_match, "1.79.0", Some(121618)),
/// Allows `use<..>` precise capturign on impl Trait in traits.
(unstable, precise_capturing_in_traits, "CURRENT_RUSTC_VERSION", Some(130044)),
/// Allows macro attributes on expressions, statements and non-inline modules.
(unstable, proc_macro_hygiene, "1.30.0", Some(54727)),
/// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024.