diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-06 12:22:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 12:22:16 -0500 |
| commit | 00132141c7e36dbaba8d85a16146bee0627ac162 (patch) | |
| tree | 7c4ae0583e776dbc1d127a7e528f3bfb963882f0 /library | |
| parent | 34d273b4bf3412794e3f5accf6866b61b17b78cf (diff) | |
| parent | 05a80608b36f71f49e6cc8d586f54c023264ac12 (diff) | |
| download | rust-00132141c7e36dbaba8d85a16146bee0627ac162.tar.gz rust-00132141c7e36dbaba8d85a16146bee0627ac162.zip | |
Rollup merge of #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) https://github.com/rust-lang/rust/issues/68318#issuecomment-2689265030
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/convert/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index e468f4f0f7e..43fd54f881d 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -778,7 +778,6 @@ 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)] // FIXME(#58633): do a principled fix instead. #[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 { |
