Skip to content

Commit b5be766

Browse files
committed
Auto merge of rust-lang#84174 - camsteffen:slice-diag, r=Mark-Simulacrum
Remove slice diagnostic item ...because it is unusally placed on an impl and is redundant with a lang item. Depends on rust-lang/rust-clippy#7074 (next clippy sync). ~I expect clippy tests to fail in the meantime.~ Nope tests passed... CC `@flip1995`
2 parents 5cc56ac + 50ac63c commit b5be766

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

alloc/src/slice.rs

-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ mod hack {
222222
}
223223

224224
#[lang = "slice_alloc"]
225-
#[cfg_attr(not(test), rustc_diagnostic_item = "slice")]
226225
#[cfg(not(test))]
227226
impl<T> [T] {
228227
/// Sorts the slice.

0 commit comments

Comments
 (0)