remove redundant imports
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
This commit is contained in:
parent
8cd8d31369
commit
40ae34194c
283 changed files with 140 additions and 510 deletions
|
@ -1,5 +1,4 @@
|
|||
use super::*;
|
||||
use crate::stable_hasher::Hash64;
|
||||
|
||||
// Check that `combine_commutative` is order independent.
|
||||
#[test]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::graph::implementation::*;
|
||||
use std::fmt::Debug;
|
||||
|
||||
type TestGraph = Graph<&'static str, &'static str>;
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use super::*;
|
||||
use std::cmp::Ordering;
|
||||
|
||||
#[derive(Debug)]
|
||||
struct S(u32);
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use super::*;
|
||||
|
||||
use std::fmt;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
impl<'a> super::ForestObligation for &'a str {
|
||||
type CacheKey = &'a str;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use super::*;
|
||||
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::hash::Hash;
|
||||
|
||||
// Hash just the bytes of the slice, without length prefix
|
||||
struct Bytes<'a>(&'a [u8]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue