diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-12-31 20:15:40 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-01-01 09:15:18 +0300 |
| commit | 70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae (patch) | |
| tree | ed077cbfc27cfa99565965681f03138285b1cb00 /src/librustc_errors/diagnostic.rs | |
| parent | 38aa6bdfd705ea0604d7d5dd9fabc5e8f853a4fc (diff) | |
| download | rust-70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae.tar.gz rust-70f1d57048d2c73c8c018d0d65ceb0e2ca5d9dae.zip | |
Rename `syntax_pos` to `rustc_span` in source code
Diffstat (limited to 'src/librustc_errors/diagnostic.rs')
| -rw-r--r-- | src/librustc_errors/diagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_errors/diagnostic.rs b/src/librustc_errors/diagnostic.rs index 6112269ef7f..5286e8c19b4 100644 --- a/src/librustc_errors/diagnostic.rs +++ b/src/librustc_errors/diagnostic.rs @@ -5,8 +5,8 @@ use crate::Level; use crate::Substitution; use crate::SubstitutionPart; use crate::SuggestionStyle; +use rustc_span::{MultiSpan, Span, DUMMY_SP}; use std::fmt; -use syntax_pos::{MultiSpan, Span, DUMMY_SP}; #[must_use] #[derive(Clone, Debug, PartialEq, Hash, RustcEncodable, RustcDecodable)] |
