mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
remove redundant import
This commit is contained in:
parent
48da6e926c
commit
0982097e4d
4 changed files with 0 additions and 4 deletions
|
@ -2,7 +2,6 @@ use crate::utils::{match_type, method_chain_args, paths, snippet_with_applicabil
|
|||
use if_chain::if_chain;
|
||||
use rustc_errors::Applicability;
|
||||
use rustc_hir::{Expr, ExprKind, MatchSource, PatKind, QPath};
|
||||
use rustc_hir_pretty;
|
||||
use rustc_lint::{LateContext, LateLintPass};
|
||||
use rustc_session::{declare_lint_pass, declare_tool_lint};
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ use rustc_hir::{
|
|||
Arm, BindingAnnotation, Block, BorrowKind, Expr, ExprKind, Local, MatchSource, Mutability, Node, Pat, PatKind,
|
||||
QPath, RangeEnd,
|
||||
};
|
||||
use rustc_hir_pretty;
|
||||
use rustc_lint::{LateContext, LateLintPass, LintContext};
|
||||
use rustc_session::{declare_tool_lint, impl_lint_pass};
|
||||
use rustc_span::source_map::Span;
|
||||
|
|
|
@ -2,7 +2,6 @@ use crate::utils::span_lint;
|
|||
use rustc::ty::subst::Subst;
|
||||
use rustc::ty::{self, Ty};
|
||||
use rustc_hir::{BorrowKind, Expr, ExprKind, Mutability};
|
||||
use rustc_hir_pretty;
|
||||
use rustc_lint::{LateContext, LateLintPass};
|
||||
use rustc_session::{declare_lint_pass, declare_tool_lint};
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
use crate::utils::get_attr;
|
||||
use rustc_ast::ast::Attribute;
|
||||
use rustc_hir as hir;
|
||||
use rustc_hir_pretty;
|
||||
use rustc_lint::{LateContext, LateLintPass, LintContext};
|
||||
use rustc_session::Session;
|
||||
use rustc_session::{declare_lint_pass, declare_tool_lint};
|
||||
|
|
Loading…
Reference in a new issue