Remove import of rustc

This commit is contained in:
Manish Goregaokar 2018-07-19 00:53:23 -07:00
parent 00ba67a12b
commit 5d74e2096b
118 changed files with 117 additions and 3 deletions

View file

@ -4,6 +4,7 @@
#![allow(print_stdout, use_debug)]
use rustc::lint::*;
use rustc::{declare_lint, lint_array};
use rustc::hir;
use rustc::hir::{Expr, ExprKind, QPath, TyKind, Pat, PatKind, BindingAnnotation, StmtKind, DeclKind, Stmt};
use rustc::hir::intravisit::{NestedVisitorMap, Visitor};

View file

@ -3,6 +3,7 @@
//! checks for attributes
use rustc::lint::*;
use rustc::{declare_lint, lint_array};
use rustc::hir;
use rustc::hir::print;
use syntax::ast::Attribute;

View file

@ -1,4 +1,5 @@
use rustc::lint::*;
use rustc::{declare_lint, lint_array};
use rustc::hir::*;
use rustc::hir;
use rustc::hir::intravisit::{walk_expr, NestedVisitorMap, Visitor};