Skip to content

Commit e48fa2b

Browse files
committed
use #[allow(unused_attributes)] to paper over incr.comp problem
1 parent 5c5c8eb commit e48fa2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/convert/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ impl<T> From<T> for T {
567567
///
568568
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
569569
#[stable(feature = "convert_infallible", since = "1.34.0")]
570+
#[allow(unused_attributes)]
570571
#[rustc_reservation_impl = "permitting this impl would forbid us from adding \
571572
`impl<T> From<!> for T` later; see rust-lang/rust#64715 for details"]
572573
impl<T> From<!> for T {

0 commit comments

Comments
 (0)