diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-06 22:17:32 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-08 00:57:58 +0100 |
| commit | e48fa2be324a7ebee50c24cf77506e9eb0a0c339 (patch) | |
| tree | 84127e17d996719bd11dfc2e5af96287b91fd933 | |
| parent | 5c5c8eb864e56ce905742b8e97df5506bba6aeef (diff) | |
| download | rust-e48fa2be324a7ebee50c24cf77506e9eb0a0c339.tar.gz rust-e48fa2be324a7ebee50c24cf77506e9eb0a0c339.zip | |
use `#[allow(unused_attributes)]` to paper over incr.comp problem
| -rw-r--r-- | src/libcore/convert/mod.rs | 1 |
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 { |
