Skip to content

Commit 88a93b3

Browse files
Rollup merge of rust-lang#137764 - compiler-errors:always-applicable-negative-impl, r=lcnr
Ensure that negative auto impls are always applicable r? lcnr (or reassign if you dont want to review) rust-lang#68318 (comment)
2 parents 7279a4a + ae3814d commit 88a93b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/convert/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,6 @@ impl<T> From<T> for T {
778778
///
779779
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
780780
#[stable(feature = "convert_infallible", since = "1.34.0")]
781-
#[allow(unused_attributes)] // FIXME(#58633): do a principled fix instead.
782781
#[rustc_reservation_impl = "permitting this impl would forbid us from adding \
783782
`impl<T> From<!> for T` later; see rust-lang/rust#64715 for details"]
784783
impl<T> From<!> for T {

0 commit comments

Comments
 (0)