Remove import of matches
This commit is contained in:
parent
5d74e2096b
commit
c7676356b8
@ -1,3 +1,4 @@
|
||||
use matches::matches;
|
||||
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
|
||||
use rustc::{declare_lint, lint_array};
|
||||
use rustc::hir::*;
|
||||
|
@ -1,3 +1,4 @@
|
||||
use matches::matches;
|
||||
use rustc::hir::intravisit;
|
||||
use rustc::hir;
|
||||
use rustc::lint::*;
|
||||
|
@ -1,5 +1,6 @@
|
||||
//! lint when items are used after statements
|
||||
|
||||
use matches::matches;
|
||||
use rustc::lint::*;
|
||||
use rustc::{declare_lint, lint_array};
|
||||
use syntax::ast::*;
|
||||
|
@ -18,8 +18,6 @@
|
||||
use toml;
|
||||
use rustc_plugin;
|
||||
|
||||
#[macro_use]
|
||||
extern crate matches as matches_macro;
|
||||
|
||||
#[macro_use]
|
||||
extern crate if_chain;
|
||||
|
@ -1,4 +1,5 @@
|
||||
use crate::reexport::*;
|
||||
use matches::matches;
|
||||
use rustc::lint::*;
|
||||
use rustc::{declare_lint, lint_array};
|
||||
use rustc::hir::def::Def;
|
||||
|
@ -1,3 +1,4 @@
|
||||
use matches::matches;
|
||||
use rustc::hir;
|
||||
use rustc::lint::*;
|
||||
use rustc::{declare_lint, lint_array};
|
||||
|
@ -1,4 +1,5 @@
|
||||
use crate::reexport::*;
|
||||
use matches::matches;
|
||||
use rustc::hir::*;
|
||||
use rustc::hir::intravisit::FnKind;
|
||||
use rustc::lint::*;
|
||||
|
@ -1,3 +1,4 @@
|
||||
use matches::matches;
|
||||
use rustc::hir::*;
|
||||
use rustc::hir::map::*;
|
||||
use rustc::hir::intravisit::FnKind;
|
||||
|
@ -1,3 +1,4 @@
|
||||
use matches::matches;
|
||||
use rustc::hir::*;
|
||||
use rustc::lint::*;
|
||||
use rustc::{declare_lint, lint_array};
|
||||
|
@ -1,5 +1,6 @@
|
||||
use std::cmp;
|
||||
|
||||
use matches::matches;
|
||||
use rustc::hir::*;
|
||||
use rustc::hir::map::*;
|
||||
use rustc::hir::intravisit::FnKind;
|
||||
|
@ -1,4 +1,5 @@
|
||||
use crate::reexport::*;
|
||||
use matches::matches;
|
||||
use rustc::hir;
|
||||
use rustc::hir::*;
|
||||
use rustc::hir::def_id::{DefId, CRATE_DEF_INDEX};
|
||||
|
@ -3,6 +3,7 @@
|
||||
// currently ignores lifetimes and generics
|
||||
#![allow(use_self)]
|
||||
|
||||
use matches::matches;
|
||||
use rustc::hir;
|
||||
use rustc::lint::{EarlyContext, LateContext, LintContext};
|
||||
use rustc_errors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user