remove redundant import

This commit is contained in:
Matthias Krüger 2020-03-27 20:47:34 +01:00
parent 48da6e926c
commit 0982097e4d
4 changed files with 0 additions and 4 deletions

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};