From 719880dd2a3081ca69fd41eac82f45d84b90bb06 Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Thu, 21 Aug 2025 23:36:21 +0300 Subject: [PATCH] Introduce reborrow unstable feature --- compiler/rustc_feature/src/unstable.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 746871982ce8..6a7370c24729 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -614,6 +614,7 @@ declare_features! ( (unstable, proc_macro_hygiene, "1.30.0", Some(54727)), /// Allows the use of raw-dylibs on ELF platforms (incomplete, raw_dylib_elf, "1.87.0", Some(135694)), + (unstable, reborrow, "CURRENT_RUSTC_VERSION", None), /// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024. (incomplete, ref_pat_eat_one_layer_2024, "1.79.0", Some(123076)), /// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024—structural variant