From 70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 31 Dec 2019 20:15:40 +0300 Subject: Rename `syntax_pos` to `rustc_span` in source code --- src/librustc_parse/parser/expr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librustc_parse/parser/expr.rs') diff --git a/src/librustc_parse/parser/expr.rs b/src/librustc_parse/parser/expr.rs index ab7c156e370..90f15375aec 100644 --- a/src/librustc_parse/parser/expr.rs +++ b/src/librustc_parse/parser/expr.rs @@ -5,6 +5,8 @@ use super::{SemiColonMode, SeqSep, TokenExpectType}; use crate::maybe_recover_from_interpolated_ty_qpath; use rustc_errors::{Applicability, PResult}; +use rustc_span::source_map::{self, Span}; +use rustc_span::symbol::{kw, sym, Symbol}; use std::mem; use syntax::ast::{self, AttrStyle, AttrVec, CaptureBy, Field, Ident, Lit, DUMMY_NODE_ID}; use syntax::ast::{ @@ -17,8 +19,6 @@ use syntax::token::{self, Token, TokenKind}; use syntax::util::classify; use syntax::util::literal::LitError; use syntax::util::parser::{prec_let_scrutinee_needs_par, AssocOp, Fixity}; -use syntax_pos::source_map::{self, Span}; -use syntax_pos::symbol::{kw, sym, Symbol}; /// Possibly accepts an `token::Interpolated` expression (a pre-parsed expression /// dropped into the token stream, which happens while parsing the result of -- cgit 1.4.1-3-g733a5