Skip to content

Commit 8f2d118

Browse files
authored
use #[allow(unused_attributes)] to paper over incr.comp problem
1 parent 9630dbb commit 8f2d118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/convert.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ impl<T> From<T> for T {
562562
///
563563
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
564564
#[stable(feature = "convert_infallible", since = "1.34.0")]
565+
#[allow(unused_attributes)]
565566
#[rustc_reservation_impl = "permitting this impl would forbid us from adding \
566567
`impl<T> From<!> for T` later; see rust-lang/rust#64715 for details"]
567568
impl<T> From<!> for T {

0 commit comments

Comments
 (0)