From b31903180845cc78ced2ea798b1c284f8f42766c Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Tue, 13 Apr 2021 15:41:13 -0500 Subject: [PATCH] Remove slice diagnostic item --- library/alloc/src/slice.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs index 036b84bb1d55f..f5d0e911b601b 100644 --- a/library/alloc/src/slice.rs +++ b/library/alloc/src/slice.rs @@ -222,7 +222,6 @@ mod hack { } #[lang = "slice_alloc"] -#[cfg_attr(not(test), rustc_diagnostic_item = "slice")] #[cfg(not(test))] impl [T] { /// Sorts the slice.