compiler: remove unnecessary imports and qualified paths
This commit is contained in:
parent
a161a7b654
commit
9bc69925cb
76 changed files with 24 additions and 98 deletions
|
@ -46,7 +46,7 @@ impl DepNodeIndex {
|
|||
pub const FOREVER_RED_NODE: DepNodeIndex = DepNodeIndex::from_u32(1);
|
||||
}
|
||||
|
||||
impl std::convert::From<DepNodeIndex> for QueryInvocationId {
|
||||
impl From<DepNodeIndex> for QueryInvocationId {
|
||||
#[inline]
|
||||
fn from(dep_node_index: DepNodeIndex) -> Self {
|
||||
QueryInvocationId(dep_node_index.as_u32())
|
||||
|
|
|
@ -22,7 +22,6 @@ use rustc_index::vec::{Idx, IndexVec};
|
|||
use rustc_serialize::opaque::{FileEncodeResult, FileEncoder, IntEncodedWithFixedSize, MemDecoder};
|
||||
use rustc_serialize::{Decodable, Decoder, Encodable};
|
||||
use smallvec::SmallVec;
|
||||
use std::convert::TryInto;
|
||||
|
||||
// The maximum value of `SerializedDepNodeIndex` leaves the upper two bits
|
||||
// unused so that we can store multiple index types in `CompressedHybridIndex`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue