From 99dc545552c40212b9d062512cd391af076b51c9 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 24 Sep 2019 11:10:42 -0400 Subject: [PATCH] add a rustdoc comment to the reservation impl --- src/libcore/convert.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 71edea561b8..f639309db87 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -554,6 +554,11 @@ impl From for T { fn from(t: T) -> T { t } } +/// **Stability note:** This impl does not yet exist, but we are +/// "reserving space" to add it in the future. See +/// [rust-lang/rust#64715][#64715] for details. +/// +/// [#64715]: https://github.com/rust-lang/rust/issues/64715 #[stable(feature = "convert_infallible", since = "1.34.0")] #[cfg(not(boostrap_stdarch_ignore_this))] #[rustc_reservation_impl="permitting this impl would forbid us from adding \ -- 2.44.0