summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-06 22:21:31 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-12-08 00:57:58 +0100
commitbaeed9266d316eb937ab6180ff8ba500c52fbaa0 (patch)
tree04ff1694f63bd31d4fae38aa460afaa470644c71
parente48fa2be324a7ebee50c24cf77506e9eb0a0c339 (diff)
downloadrust-ostrich.tar.gz
leave a FIXMEostrich
-rw-r--r--src/libcore/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/convert/mod.rs b/src/libcore/convert/mod.rs
index bd2d85c94c7..5414d9ac234 100644
--- a/src/libcore/convert/mod.rs
+++ b/src/libcore/convert/mod.rs
@@ -567,7 +567,7 @@ impl<T> From<T> for T {
///
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
#[stable(feature = "convert_infallible", since = "1.34.0")]
-#[allow(unused_attributes)]
+#[allow(unused_attributes)] // FIXME(#58633): do a principled fix instead.
#[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 {