From fcf45999f7441721965cb3f07a996d2c11793365 Mon Sep 17 00:00:00 2001 From: Linus Färnstrand Date: Sat, 4 Apr 2020 17:25:45 +0200 Subject: Stop importing int/float modules in librustc_* --- src/librustc_data_structures/graph/implementation/mod.rs | 1 - src/librustc_data_structures/profiling.rs | 1 - 2 files changed, 2 deletions(-) (limited to 'src/librustc_data_structures') diff --git a/src/librustc_data_structures/graph/implementation/mod.rs b/src/librustc_data_structures/graph/implementation/mod.rs index f705c2f0b75..1aa7ac024d9 100644 --- a/src/librustc_data_structures/graph/implementation/mod.rs +++ b/src/librustc_data_structures/graph/implementation/mod.rs @@ -23,7 +23,6 @@ use crate::snapshot_vec::{SnapshotVec, SnapshotVecDelegate}; use rustc_index::bit_set::BitSet; use std::fmt::Debug; -use std::usize; #[cfg(test)] mod tests; diff --git a/src/librustc_data_structures/profiling.rs b/src/librustc_data_structures/profiling.rs index a7cdc48d603..23f3558cbdf 100644 --- a/src/librustc_data_structures/profiling.rs +++ b/src/librustc_data_structures/profiling.rs @@ -93,7 +93,6 @@ use std::path::Path; use std::process; use std::sync::Arc; use std::time::{Duration, Instant}; -use std::u32; use measureme::{EventId, EventIdBuilder, SerializableString, StringId}; use parking_lot::RwLock; -- cgit 1.4.1-3-g733a5