diff --git a/core/src/slice/sort/shared/smallsort.rs b/core/src/slice/sort/shared/smallsort.rs index 567a7090ecd7d..5111ed8756bf1 100644 --- a/core/src/slice/sort/shared/smallsort.rs +++ b/core/src/slice/sort/shared/smallsort.rs @@ -140,6 +140,8 @@ impl UnstableSmallSortFreezeTypeImpl for T { #[rustc_unsafe_specialization_marker] trait CopyMarker {} +impl CopyMarker for T {} + impl UnstableSmallSortFreezeTypeImpl for T { #[inline(always)] fn small_sort_threshold() -> usize {