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/libsyntax/expand/allocator.rs | 4 ++-- src/libsyntax/expand/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libsyntax/expand') diff --git a/src/libsyntax/expand/allocator.rs b/src/libsyntax/expand/allocator.rs index 7ab8e370926..fbeeb47c23e 100644 --- a/src/libsyntax/expand/allocator.rs +++ b/src/libsyntax/expand/allocator.rs @@ -1,6 +1,6 @@ use crate::{ast, attr, visit}; -use syntax_pos::symbol::{sym, Symbol}; -use syntax_pos::Span; +use rustc_span::symbol::{sym, Symbol}; +use rustc_span::Span; #[derive(Clone, Copy)] pub enum AllocatorKind { diff --git a/src/libsyntax/expand/mod.rs b/src/libsyntax/expand/mod.rs index 761dc2f5684..50df8fa39ed 100644 --- a/src/libsyntax/expand/mod.rs +++ b/src/libsyntax/expand/mod.rs @@ -1,7 +1,7 @@ //! Definitions shared by macros / syntax extensions and e.g. librustc. use crate::ast::Attribute; -use syntax_pos::symbol::sym; +use rustc_span::symbol::sym; pub mod allocator; -- cgit 1.4.1-3-g733a5