Skip to content
Permalink
Browse files

Link compiler plugins to rustc_driver

  • Loading branch information...
Zoxc committed Jul 6, 2019
1 parent 2caf5d9 commit 7198687bb2df13a3298ef1e8f594753073d6b9e8
@@ -17,6 +17,7 @@
//! #![feature(rustc_private)]
//!
//! extern crate rustc_plugin;
//! extern crate rustc_driver;
//! extern crate syntax;
//! extern crate syntax_pos;
//!
@@ -4,6 +4,7 @@
#[macro_use]
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;
extern crate syntax;

use rustc_plugin::Registry;
@@ -5,6 +5,7 @@

#[macro_use] extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;
extern crate syntax;

use rustc::lint::{LateContext, LintContext, LintPass, LateLintPass, LateLintPassObject, LintArray};
@@ -5,6 +5,7 @@

extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc_plugin::Registry;

@@ -5,6 +5,7 @@

extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc_plugin::Registry;

@@ -7,6 +7,7 @@
extern crate syntax;
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;
extern crate syntax_pos;
extern crate proc_macro;

@@ -5,6 +5,7 @@

extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use std::any::Any;
use std::cell::RefCell;
@@ -7,6 +7,7 @@ extern crate syntax;
extern crate syntax_pos;
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use std::borrow::ToOwned;
use syntax::ast;
@@ -13,6 +13,7 @@ extern crate syntax;
extern crate syntax_pos;
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use syntax::parse::token::{self, Token};
use syntax::tokenstream::TokenTree;
@@ -7,6 +7,7 @@ extern crate syntax;

extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use syntax::symbol::Symbol;
use syntax::feature_gate::AttributeType;
@@ -5,6 +5,7 @@

#[macro_use] extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;
extern crate syntax;

use rustc::lint::{LateContext, LintContext, LintPass, LateLintPass, LateLintPassObject, LintArray};
@@ -7,6 +7,7 @@
#[macro_use]
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc::hir;
use rustc::lint::{LateContext, LintContext, LintPass, LateLintPass, LateLintPassObject, LintArray};
@@ -9,6 +9,7 @@ extern crate syntax;
#[macro_use]
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc::lint::{EarlyContext, LintContext, LintPass, EarlyLintPass,
EarlyLintPassObject, LintArray};
@@ -7,6 +7,7 @@ extern crate syntax;
#[macro_use]
extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc::lint::{EarlyContext, EarlyLintPass, LintArray, LintContext, LintPass};
use rustc_plugin::Registry;
@@ -5,6 +5,7 @@

extern crate rustc;
extern crate rustc_plugin;
extern crate rustc_driver;

use rustc_plugin::Registry;

0 comments on commit 7198687

Please sign in to comment.
You can’t perform that action at this time.