From d7afe2a223ab0a118bcdae39e8e2affbccaa61ae Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Sun, 30 Aug 2020 21:07:23 +0200 Subject: [PATCH] Fix tests using `FixedSizeArray` methods (which are now shadowed) --- library/core/tests/lib.rs | 1 + library/core/tests/option.rs | 1 - library/core/tests/result.rs | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs index 81e621318e1..4a651e5aa0e 100644 --- a/library/core/tests/lib.rs +++ b/library/core/tests/lib.rs @@ -1,5 +1,6 @@ #![feature(alloc_layout_extra)] #![feature(array_chunks)] +#![feature(array_methods)] #![feature(array_map)] #![feature(bool_to_option)] #![feature(bound_cloned)] diff --git a/library/core/tests/option.rs b/library/core/tests/option.rs index fa308160fc2..b46bcfd16d2 100644 --- a/library/core/tests/option.rs +++ b/library/core/tests/option.rs @@ -1,4 +1,3 @@ -use core::array::FixedSizeArray; use core::clone::Clone; use core::mem; use core::ops::DerefMut; diff --git a/library/core/tests/result.rs b/library/core/tests/result.rs index caa2d916cd7..35598295a95 100644 --- a/library/core/tests/result.rs +++ b/library/core/tests/result.rs @@ -1,4 +1,3 @@ -use core::array::FixedSizeArray; use core::ops::DerefMut; use core::option::*;