about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2020-04-04 17:25:45 +0200
committerLinus Färnstrand <faern@faern.net>2020-04-05 11:22:01 +0200
commitfcf45999f7441721965cb3f07a996d2c11793365 (patch)
treea1e0b68105742a67b26c195c4c829454d2726a5b /src/librustc_data_structures
parenta88b36b93bbd5a59f7cb2f91cb9997490b16c459 (diff)
downloadrust-fcf45999f7441721965cb3f07a996d2c11793365.tar.gz
rust-fcf45999f7441721965cb3f07a996d2c11793365.zip
Stop importing int/float modules in librustc_*
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/graph/implementation/mod.rs1
-rw-r--r--src/librustc_data_structures/profiling.rs1
2 files changed, 0 insertions, 2 deletions
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;