diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2019-09-24 11:10:42 -0400 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-09-24 21:11:51 +0300 |
| commit | 99dc545552c40212b9d062512cd391af076b51c9 (patch) | |
| tree | 64207358daefaa5e7cf2dbdedccfc37337eee0fe /src | |
| parent | 167ab0439eb9f2d7b199f846fe07061b31185e09 (diff) | |
| download | rust-99dc545552c40212b9d062512cd391af076b51c9.tar.gz rust-99dc545552c40212b9d062512cd391af076b51c9.zip | |
add a rustdoc comment to the reservation impl
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/convert.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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<T> From<T> 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 \ |
