]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_parse/lib.rs
Rollup merge of #68033 - ollie27:win_f32, r=dtolnay
[rust.git] / src / librustc_parse / lib.rs
index f35e5cbb4fd03b92fe6ccc43c7621296a8372676..9227e968ecc4f2522593d96aa759923c7d55047f 100644 (file)
@@ -12,7 +12,7 @@
 
 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 {