Skip to content

Commit 269624f

Browse files
committed
Fix broken tests on nightly
1 parent 9cfdf4d commit 269624f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/cross_compile.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,13 @@ fn plugin_deps() {
203203
204204
extern crate rustc_driver;
205205
extern crate syntax;
206+
extern crate syntax_expand;
206207
207208
use rustc_driver::plugin::Registry;
208209
use syntax::tokenstream::TokenStream;
209210
use syntax::source_map::Span;
210211
use syntax::ast::*;
211-
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
212+
use syntax_expand::base::{ExtCtxt, MacEager, MacResult};
212213
213214
#[plugin_registrar]
214215
pub fn foo(reg: &mut Registry) {
@@ -298,13 +299,14 @@ fn plugin_to_the_max() {
298299
299300
extern crate rustc_driver;
300301
extern crate syntax;
302+
extern crate syntax_expand;
301303
extern crate baz;
302304
303305
use rustc_driver::plugin::Registry;
304306
use syntax::tokenstream::TokenStream;
305307
use syntax::source_map::Span;
306308
use syntax::ast::*;
307-
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
309+
use syntax_expand::base::{ExtCtxt, MacEager, MacResult};
308310
use syntax::ptr::P;
309311
310312
#[plugin_registrar]

0 commit comments

Comments
 (0)