From 91a33a0e84d04a4cf5291debaca95a3c625b3202 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 23 Aug 2018 23:56:50 -0700 Subject: [PATCH] Fix test failure on nightly due to `codemap::Span` change. Update due to rust-lang/rust#52953. --- tests/testsuite/cross_compile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/cross_compile.rs b/tests/testsuite/cross_compile.rs index b56c325c2ba..f92fcee85b6 100644 --- a/tests/testsuite/cross_compile.rs +++ b/tests/testsuite/cross_compile.rs @@ -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; @@ -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;