Skip to content

Commit

Permalink
Auto merge of #5937 - ehuss:fix-codemap, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix test failure on nightly due to `codemap::Span` change.

Update due to rust-lang/rust#52953.
  • Loading branch information
bors committed Aug 24, 2018
2 parents 8537ab9 + 91a33a0 commit 3ce6527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/cross_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fn plugin_deps() {
use rustc_plugin::Registry;
use syntax::tokenstream::TokenTree;
use syntax::codemap::Span;
use syntax::source_map::Span;
use syntax::ast::*;
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
use syntax::ext::build::AstBuilder;
Expand Down Expand Up @@ -320,7 +320,7 @@ fn plugin_to_the_max() {
use rustc_plugin::Registry;
use syntax::tokenstream::TokenTree;
use syntax::codemap::Span;
use syntax::source_map::Span;
use syntax::ast::*;
use syntax::ext::base::{ExtCtxt, MacEager, MacResult};
use syntax::ext::build::AstBuilder;
Expand Down

0 comments on commit 3ce6527

Please sign in to comment.