diff options
Diffstat (limited to 'src/libfmt_macros')
| -rw-r--r-- | src/libfmt_macros/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/libfmt_macros/lib.rs | 2 | ||||
| -rw-r--r-- | src/libfmt_macros/tests.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libfmt_macros/Cargo.toml b/src/libfmt_macros/Cargo.toml index 70752b548dd..01608701a79 100644 --- a/src/libfmt_macros/Cargo.toml +++ b/src/libfmt_macros/Cargo.toml @@ -9,5 +9,5 @@ name = "fmt_macros" path = "lib.rs" [dependencies] -syntax_pos = { path = "../librustc_span", package = "rustc_span" } +rustc_span = { path = "../librustc_span" } rustc_lexer = { path = "../librustc_lexer" } diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index fa0021a7c73..9ca7eee999f 100644 --- a/src/libfmt_macros/lib.rs +++ b/src/libfmt_macros/lib.rs @@ -24,7 +24,7 @@ use std::iter; use std::str; use std::string; -use syntax_pos::{InnerSpan, Symbol}; +use rustc_span::{InnerSpan, Symbol}; #[derive(Copy, Clone)] struct InnerOffset(usize); diff --git a/src/libfmt_macros/tests.rs b/src/libfmt_macros/tests.rs index 71a6d51fc87..98c2a17f0dd 100644 --- a/src/libfmt_macros/tests.rs +++ b/src/libfmt_macros/tests.rs @@ -144,7 +144,7 @@ fn format_align_fill() { } #[test] fn format_counts() { - use syntax_pos::{edition, Globals, GLOBALS}; + use rustc_span::{edition, Globals, GLOBALS}; GLOBALS.set(&Globals::new(edition::DEFAULT_EDITION), || { same( "{:10x}", |
