about summary refs log tree commit diff
path: root/src/librustc_parse
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-11 04:50:53 +0900
committerGitHub <noreply@github.com>2020-01-11 04:50:53 +0900
commit7ae0618e0af852c3e777272a29419f85eaf033cc (patch)
treeda0d24a138d6bfd1264ad954775b749ae340aa50 /src/librustc_parse
parent93f0ba970fb5ecd330d970109d58bf594b8cc96e (diff)
parent8bd3d240e3fbfe5ad39585faef1fcfb4ae42ac59 (diff)
Rollup merge of #68050 - Centril:canon-error, r=Mark-Simulacrum
Canonicalize rustc_error imports

r? @Mark-Simulacrum
Diffstat (limited to 'src/librustc_parse')
-rw-r--r--src/librustc_parse/lexer/unescape_error_reporting.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_parse/lexer/unescape_error_reporting.rs b/src/librustc_parse/lexer/unescape_error_reporting.rs
index 151c63a49b5..88762dabd8a 100644
--- a/src/librustc_parse/lexer/unescape_error_reporting.rs
+++ b/src/librustc_parse/lexer/unescape_error_reporting.rs
@@ -3,11 +3,10 @@
 use std::iter::once;
 use std::ops::Range;
 
+use rustc_errors::{Applicability, Handler};
 use rustc_lexer::unescape::{EscapeError, Mode};
 use rustc_span::{BytePos, Span};
 
-use syntax::errors::{Applicability, Handler};
-
 pub(crate) fn emit_unescape_error(
     handler: &Handler,
     // interior part of the literal, without quotes