about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorNadrieril <nadrieril+git@gmail.com>2024-03-08 19:17:23 +0100
committerNadrieril <nadrieril+git@gmail.com>2024-03-20 22:30:27 +0100
commit120d3570aa467c287814fe3edb9003920d8232aa (patch)
tree146ba6ab67200ca66af6ebf6447a7b657030adbf /compiler/rustc_feature/src
parenta128516cf9de352ae1f9d430ed730363c7ca3c0c (diff)
downloadrust-120d3570aa467c287814fe3edb9003920d8232aa.tar.gz
rust-120d3570aa467c287814fe3edb9003920d8232aa.zip
Add barest-bones deref patterns
Co-authored-by: Deadbeef <ent3rm4n@gmail.com>
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/unstable.rs2
1 files changed, 2 insertions, 0 deletions
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(...))]`.