about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-06 22:17:32 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-12-08 00:57:58 +0100
commite48fa2be324a7ebee50c24cf77506e9eb0a0c339 (patch)
tree84127e17d996719bd11dfc2e5af96287b91fd933
parent5c5c8eb864e56ce905742b8e97df5506bba6aeef (diff)
downloadrust-e48fa2be324a7ebee50c24cf77506e9eb0a0c339.tar.gz
rust-e48fa2be324a7ebee50c24cf77506e9eb0a0c339.zip
use `#[allow(unused_attributes)]` to paper over incr.comp problem
-rw-r--r--src/libcore/convert/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/convert/mod.rs b/src/libcore/convert/mod.rs
index 16d5375059f..bd2d85c94c7 100644
--- a/src/libcore/convert/mod.rs
+++ b/src/libcore/convert/mod.rs
@@ -567,6 +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)]
 #[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 {