diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2019-09-23 14:27:34 -0400 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-09-24 21:11:50 +0300 |
| commit | 167ab0439eb9f2d7b199f846fe07061b31185e09 (patch) | |
| tree | 3270dfc3a00ffc2e708ff57bb5d0f457be842a41 /src/libcore | |
| parent | da60c53fa7fb74d314d3ad4f33ea55479884313a (diff) | |
| download | rust-167ab0439eb9f2d7b199f846fe07061b31185e09.tar.gz rust-167ab0439eb9f2d7b199f846fe07061b31185e09.zip | |
nit: update error text to cite tracking issue
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/convert.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 6edd56f7492..71edea561b8 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -556,12 +556,8 @@ impl<T> From<T> for T { #[stable(feature = "convert_infallible", since = "1.34.0")] #[cfg(not(boostrap_stdarch_ignore_this))] -#[rustc_reservation_impl="a future version of Rust might implement `From<!>` for \ - all types. \ - However, it is OK to implement `From<!>` for types you own - \ - when the blanket impl will be added, coherence will be changed \ - to make these impls not be an error." -] +#[rustc_reservation_impl="permitting this impl would forbid us from adding \ +`impl<T> From<!> for T` later; see rust-lang/rust#64715 for details"] impl<T> From<!> for T { fn from(t: !) -> T { t } } |
