use visibility to check unused imports and delete some stmts
This commit is contained in:
parent
8e7d1678c4
commit
87d0ace9ac
@ -19,6 +19,7 @@ mod in_fn_test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod blurg {
|
mod blurg {
|
||||||
|
#[allow(unused_imports)]
|
||||||
pub use std::cmp::Ordering::*; // ok, re-export
|
pub use std::cmp::Ordering::*; // ok, re-export
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ fn blarg() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod blurg {
|
mod blurg {
|
||||||
|
#[allow(unused_imports)]
|
||||||
pub use std::cmp::Ordering::*; // ok, re-export
|
pub use std::cmp::Ordering::*; // ok, re-export
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user