about summary refs log tree commit diff
path: root/src/libsyntax/tokenstream
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-16 06:53:13 +0000
committerbors <bors@rust-lang.org>2019-08-16 06:53:13 +0000
commit5a6d801bf9399004a0f0a19e510d996f4686c093 (patch)
tree3950734898164dfdf746e2fc3d0951dbb1e0b6cc /src/libsyntax/tokenstream
parentf7af19c279b8b7ea3d2c21fcbd67164af8d5d968 (diff)
parent0bd3a852557c1e52c4c38207891e5230bfa62cdb (diff)
downloadrust-5a6d801bf9399004a0f0a19e510d996f4686c093.tar.gz
rust-5a6d801bf9399004a0f0a19e510d996f4686c093.zip
Auto merge of #63627 - Centril:rollup-v8i7x5i, r=Centril
Rollup of 7 pull requests

Successful merges:

 - #62593 (Group all ABI tests.)
 - #63173 (Use libunwind from llvm-project submodule for musl targets)
 - #63535 (Continue refactoring resolve and hygiene)
 - #63539 (Suggest Rust 2018 on `<expr>.await` with no such field)
 - #63584 (libcore: more cleanups using `#![feature(associated_type_bounds)]`)
 - #63612 (Do not suggest `try_into` for base types inside of macro expansions)
 - #63615 (Fix typo in DoubleEndedIterator::nth_back doc)

Failed merges:

r? @ghost
Diffstat (limited to 'src/libsyntax/tokenstream')
-rw-r--r--src/libsyntax/tokenstream/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/tokenstream/tests.rs b/src/libsyntax/tokenstream/tests.rs
index 72e22a49876..5017e5f5424 100644
--- a/src/libsyntax/tokenstream/tests.rs
+++ b/src/libsyntax/tokenstream/tests.rs
@@ -3,14 +3,14 @@ use super::*;
 use crate::ast::Name;
 use crate::with_default_globals;
 use crate::tests::string_to_stream;
-use syntax_pos::{Span, BytePos, NO_EXPANSION};
+use syntax_pos::{Span, BytePos};
 
 fn string_to_ts(string: &str) -> TokenStream {
     string_to_stream(string.to_owned())
 }
 
 fn sp(a: u32, b: u32) -> Span {
-    Span::new(BytePos(a), BytePos(b), NO_EXPANSION)
+    Span::with_root_ctxt(BytePos(a), BytePos(b))
 }
 
 #[test]