about summary refs log tree commit diff
path: root/library/core/src/prelude/v1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/prelude/v1.rs')
-rw-r--r--library/core/src/prelude/v1.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/core/src/prelude/v1.rs b/library/core/src/prelude/v1.rs
index a4be66b90ca..d8d82afb0e6 100644
--- a/library/core/src/prelude/v1.rs
+++ b/library/core/src/prelude/v1.rs
@@ -117,3 +117,10 @@ pub use crate::macros::builtin::deref;
     reason = "`type_alias_impl_trait` has open design concerns"
 )]
 pub use crate::macros::builtin::define_opaque;
+
+#[unstable(
+    feature = "derive_from",
+    issue = "144889",
+    reason = "`derive(From)` is unstable"
+)]
+pub use crate::macros::builtin::From;