From: Niko Matsakis Date: Tue, 24 Sep 2019 15:10:42 +0000 (-0400) Subject: add a rustdoc comment to the reservation impl X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=99dc545552c40212b9d062512cd391af076b51c9;p=rust.git add a rustdoc comment to the reservation impl --- 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 \