From 120d3570aa467c287814fe3edb9003920d8232aa Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 8 Mar 2024 19:17:23 +0100 Subject: Add barest-bones deref patterns Co-authored-by: Deadbeef --- compiler/rustc_feature/src/unstable.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/rustc_feature/src') diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index a3b13c4d907..1820e172ea5 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -436,6 +436,8 @@ declare_features! ( (unstable, deprecated_safe, "1.61.0", Some(94978)), /// Allows having using `suggestion` in the `#[deprecated]` attribute. (unstable, deprecated_suggestion, "1.61.0", Some(94785)), + /// Allows deref patterns. + (incomplete, deref_patterns, "CURRENT_RUSTC_VERSION", Some(87121)), /// Controls errors in trait implementations. (unstable, do_not_recommend, "1.67.0", Some(51992)), /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`. -- cgit 1.4.1-3-g733a5