about summary refs log tree commit diff
path: root/src/librustc_parse/lib.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-12-31 20:15:40 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-01-01 09:15:18 +0300
commit70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae (patch)
treeed077cbfc27cfa99565965681f03138285b1cb00 /src/librustc_parse/lib.rs
parent38aa6bdfd705ea0604d7d5dd9fabc5e8f853a4fc (diff)
downloadrust-70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae.tar.gz
rust-70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae.zip
Rename `syntax_pos` to `rustc_span` in source code
Diffstat (limited to 'src/librustc_parse/lib.rs')
-rw-r--r--src/librustc_parse/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_parse/lib.rs b/src/librustc_parse/lib.rs
index f35e5cbb4fd..9227e968ecc 100644
--- a/src/librustc_parse/lib.rs
+++ b/src/librustc_parse/lib.rs
@@ -12,7 +12,7 @@ use syntax::tokenstream::{self, TokenStream, TokenTree};
 
 use rustc_data_structures::sync::Lrc;
 use rustc_errors::{Diagnostic, FatalError, Level, PResult};
-use syntax_pos::{FileName, SourceFile, Span};
+use rustc_span::{FileName, SourceFile, Span};
 
 use std::borrow::Cow;
 use std::path::Path;
@@ -373,7 +373,7 @@ fn prepend_attrs(
     sess: &ParseSess,
     attrs: &[ast::Attribute],
     tokens: Option<&tokenstream::TokenStream>,
-    span: syntax_pos::Span,
+    span: rustc_span::Span,
 ) -> Option<tokenstream::TokenStream> {
     let tokens = tokens?;
     if attrs.len() == 0 {