Skip to content

Commit

Permalink
Fix broken tests on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 21, 2019
1 parent 9cfdf4d commit 269624f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testsuite/cross_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,13 @@ fn plugin_deps() {
extern crate rustc_driver;
extern crate syntax;
extern crate syntax_expand;
use rustc_driver::plugin::Registry;
use syntax::tokenstream::TokenStream;
use syntax::source_map::Span;
use syntax::ast::*;
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
use syntax_expand::base::{ExtCtxt, MacEager, MacResult};
#[plugin_registrar]
pub fn foo(reg: &mut Registry) {
Expand Down Expand Up @@ -298,13 +299,14 @@ fn plugin_to_the_max() {
extern crate rustc_driver;
extern crate syntax;
extern crate syntax_expand;
extern crate baz;
use rustc_driver::plugin::Registry;
use syntax::tokenstream::TokenStream;
use syntax::source_map::Span;
use syntax::ast::*;
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
use syntax_expand::base::{ExtCtxt, MacEager, MacResult};
use syntax::ptr::P;
#[plugin_registrar]
Expand Down

0 comments on commit 269624f

Please sign in to comment.