about summary refs log tree commit diff
path: root/compiler/rustc_feature
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-04 17:22:46 +0200
committerJakub Beránek <berykubik@gmail.com>2025-08-15 12:06:20 +0200
commitf39085bb372f00b5b6849001e947727c9dc77ba3 (patch)
tree577821497df993c3cdad0011752c012f49189b92 /compiler/rustc_feature
parent3507a749b365aae4eefa96ab700a9315d3280ee7 (diff)
downloadrust-f39085bb372f00b5b6849001e947727c9dc77ba3.tar.gz
rust-f39085bb372f00b5b6849001e947727c9dc77ba3.zip
Add `derive_from` unstable feature
Diffstat (limited to 'compiler/rustc_feature')
-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 87ecc7b41e2..07f928b8c88 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -470,6 +470,8 @@ declare_features! (
     (unstable, deprecated_suggestion, "1.61.0", Some(94785)),
     /// Allows deref patterns.
     (incomplete, deref_patterns, "1.79.0", Some(87121)),
+    /// Allows deriving the From trait on single-field structs.
+    (unstable, derive_from, "CURRENT_RUSTC_VERSION", Some(144889)),
     /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.
     (unstable, doc_auto_cfg, "1.58.0", Some(43781)),
     /// Allows `#[doc(cfg(...))]`.