Skip to content

Commit 99dc545

Browse files
nikomatsakisarielb1
authored andcommitted
add a rustdoc comment to the reservation impl
1 parent 167ab04 commit 99dc545

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libcore/convert.rs

+5
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,11 @@ impl<T> From<T> for T {
554554
fn from(t: T) -> T { t }
555555
}
556556

557+
/// **Stability note:** This impl does not yet exist, but we are
558+
/// "reserving space" to add it in the future. See
559+
/// [rust-lang/rust#64715][#64715] for details.
560+
///
561+
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
557562
#[stable(feature = "convert_infallible", since = "1.34.0")]
558563
#[cfg(not(boostrap_stdarch_ignore_this))]
559564
#[rustc_reservation_impl="permitting this impl would forbid us from adding \

0 commit comments

Comments
 (0)