1
Fork 0

Rename syntax_pos to rustc_span in source code

This commit is contained in:
Vadim Petrochenkov 2019-12-31 20:15:40 +03:00
parent 38aa6bdfd7
commit 70f1d57048
383 changed files with 601 additions and 601 deletions

View file

@ -1,13 +1,13 @@
use super::{Parser, TokenType};
use crate::maybe_whole;
use rustc_errors::{pluralize, Applicability, PResult};
use rustc_span::source_map::{BytePos, Span};
use rustc_span::symbol::{kw, sym};
use syntax::ast::{self, AngleBracketedArgs, Ident, ParenthesizedArgs, Path, PathSegment, QSelf};
use syntax::ast::{
AnonConst, AssocTyConstraint, AssocTyConstraintKind, BlockCheckMode, GenericArg,
};
use syntax::token::{self, Token};
use syntax_pos::source_map::{BytePos, Span};
use syntax_pos::symbol::{kw, sym};
use log::debug;
use std::mem;