mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 11:12:43 +00:00
Auto merge of #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`
This commit is contained in:
commit
ae54ee6507
@ -222,7 +222,6 @@ mod hack {
|
||||
}
|
||||
|
||||
#[lang = "slice_alloc"]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "slice")]
|
||||
#[cfg(not(test))]
|
||||
impl<T> [T] {
|
||||
/// Sorts the slice.
|
||||
|
Loading…
Reference in New Issue
Block a user