about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>2020-08-30 21:07:23 +0200
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>2020-08-30 21:08:18 +0200
commitd7afe2a223ab0a118bcdae39e8e2affbccaa61ae (patch)
tree54e3646ed286423dbc7a4700aa2061496ce60dbc
parent104a02301ca3cbc9f6056e9ebab8b928dad706af (diff)
downloadrust-d7afe2a223ab0a118bcdae39e8e2affbccaa61ae.tar.gz
rust-d7afe2a223ab0a118bcdae39e8e2affbccaa61ae.zip
Fix tests using `FixedSizeArray` methods (which are now shadowed)
-rw-r--r--library/core/tests/lib.rs1
-rw-r--r--library/core/tests/option.rs1
-rw-r--r--library/core/tests/result.rs1
3 files changed, 1 insertions, 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::*;