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,11 +1,8 @@
|
|||
use super::*;
|
||||
|
||||
use crate::json::JsonEmitter;
|
||||
use rustc_span::source_map::{FilePathMapping, SourceMap};
|
||||
|
||||
use crate::emitter::{ColorConfig, HumanReadableErrorType};
|
||||
use crate::{Handler, TerminalUrl};
|
||||
use rustc_span::{BytePos, Span};
|
||||
use crate::emitter::ColorConfig;
|
||||
use crate::Handler;
|
||||
use rustc_span::BytePos;
|
||||
|
||||
use std::str;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue