Remove import of matches

This commit is contained in:
Manish Goregaokar 2018-07-19 00:24:19 -07:00
parent 5d74e2096b
commit c7676356b8
12 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,4 @@
use matches::matches;
use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
use rustc::{declare_lint, lint_array};
use rustc::hir::*;

View File

@ -1,3 +1,4 @@
use matches::matches;
use rustc::hir::intravisit;
use rustc::hir;
use rustc::lint::*;

View File

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

View File

@ -18,8 +18,6 @@
use toml;
use rustc_plugin;
#[macro_use]
extern crate matches as matches_macro;
#[macro_use]
extern crate if_chain;

View File

@ -1,4 +1,5 @@
use crate::reexport::*;
use matches::matches;
use rustc::lint::*;
use rustc::{declare_lint, lint_array};
use rustc::hir::def::Def;

View File

@ -1,3 +1,4 @@
use matches::matches;
use rustc::hir;
use rustc::lint::*;
use rustc::{declare_lint, lint_array};

View File

@ -1,4 +1,5 @@
use crate::reexport::*;
use matches::matches;
use rustc::hir::*;
use rustc::hir::intravisit::FnKind;
use rustc::lint::*;

View File

@ -1,3 +1,4 @@
use matches::matches;
use rustc::hir::*;
use rustc::hir::map::*;
use rustc::hir::intravisit::FnKind;

View File

@ -1,3 +1,4 @@
use matches::matches;
use rustc::hir::*;
use rustc::lint::*;
use rustc::{declare_lint, lint_array};

View File

@ -1,5 +1,6 @@
use std::cmp;
use matches::matches;
use rustc::hir::*;
use rustc::hir::map::*;
use rustc::hir::intravisit::FnKind;

View File

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

View File

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