about summary refs log tree commit diff
path: root/src/liballoc/tests
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2020-04-04 17:24:03 +0200
committerLinus Färnstrand <faern@faern.net>2020-04-05 11:22:01 +0200
commitfff4f083986cb5f0430a78feb139603f0ceeb9c1 (patch)
treef48da38700fed8cd016d3e9d2652f2f2dfc03eb2 /src/liballoc/tests
parente129923b7e4d58a92c8a0530cd6eaa5be548342d (diff)
downloadrust-fff4f083986cb5f0430a78feb139603f0ceeb9c1.tar.gz
rust-fff4f083986cb5f0430a78feb139603f0ceeb9c1.zip
Stop importing integer modules in liballoc
Diffstat (limited to 'src/liballoc/tests')
-rw-r--r--src/liballoc/tests/string.rs1
-rw-r--r--src/liballoc/tests/vec.rs1
-rw-r--r--src/liballoc/tests/vec_deque.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/liballoc/tests/string.rs b/src/liballoc/tests/string.rs
index d2f09eb4a75..6e2a5abe90d 100644
--- a/src/liballoc/tests/string.rs
+++ b/src/liballoc/tests/string.rs
@@ -1,7 +1,6 @@
 use std::borrow::Cow;
 use std::collections::TryReserveError::*;
 use std::mem::size_of;
-use std::{isize, usize};
 
 pub trait IntoCow<'a, B: ?Sized>
 where
diff --git a/src/liballoc/tests/vec.rs b/src/liballoc/tests/vec.rs
index 9c4ac52acac..831a42a4b3f 100644
--- a/src/liballoc/tests/vec.rs
+++ b/src/liballoc/tests/vec.rs
@@ -3,7 +3,6 @@ use std::collections::TryReserveError::*;
 use std::mem::size_of;
 use std::panic::{catch_unwind, AssertUnwindSafe};
 use std::vec::{Drain, IntoIter};
-use std::{isize, usize};
 
 struct DropCounter<'a> {
     count: &'a mut u32,
diff --git a/src/liballoc/tests/vec_deque.rs b/src/liballoc/tests/vec_deque.rs
index 101dd67d97a..c287d56fa53 100644
--- a/src/liballoc/tests/vec_deque.rs
+++ b/src/liballoc/tests/vec_deque.rs
@@ -3,7 +3,6 @@ use std::collections::{vec_deque::Drain, VecDeque};
 use std::fmt::Debug;
 use std::mem::size_of;
 use std::panic::{catch_unwind, AssertUnwindSafe};
-use std::{isize, usize};
 
 use crate::hash;