diff options
| author | bors <bors@rust-lang.org> | 2020-01-01 08:39:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-01-01 08:39:44 +0000 |
| commit | 9e6fb538f9254884ca9f958fdce413d6c3f2016c (patch) | |
| tree | ed077cbfc27cfa99565965681f03138285b1cb00 /src/libsyntax/expand | |
| parent | 38aa6bdfd705ea0604d7d5dd9fabc5e8f853a4fc (diff) | |
| parent | 70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae (diff) | |
| download | rust-9e6fb538f9254884ca9f958fdce413d6c3f2016c.tar.gz rust-9e6fb538f9254884ca9f958fdce413d6c3f2016c.zip | |
Auto merge of #67763 - petrochenkov:crateren2, r=Centril
Rename `syntax_pos` to `rustc_span` in source code Follow-up to https://github.com/rust-lang/rust/pull/67707. r? @Centril
Diffstat (limited to 'src/libsyntax/expand')
| -rw-r--r-- | src/libsyntax/expand/allocator.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/expand/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
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; |
