Skip to content

Commit 8be1d25

Browse files
committed
Remove unnecessary qualifiers.
1 parent 31ac4ef commit 8be1d25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_session/src/session.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl Session {
677677
}
678678

679679
#[inline]
680-
pub fn diagnostic(&self) -> &rustc_errors::Handler {
680+
pub fn diagnostic(&self) -> &Handler {
681681
&self.parse_sess.span_diagnostic
682682
}
683683

@@ -1407,7 +1407,7 @@ pub fn build_session(
14071407
);
14081408
let emitter = default_emitter(&sopts, registry, source_map.clone(), bundle, fallback_bundle);
14091409

1410-
let mut span_diagnostic = rustc_errors::Handler::with_emitter(emitter)
1410+
let mut span_diagnostic = Handler::with_emitter(emitter)
14111411
.with_flags(sopts.unstable_opts.diagnostic_handler_flags(can_emit_warnings));
14121412
if let Some(ice_file) = ice_file {
14131413
span_diagnostic = span_diagnostic.with_ice_file(ice_file);
@@ -1720,7 +1720,7 @@ pub struct EarlyErrorHandler {
17201720
impl EarlyErrorHandler {
17211721
pub fn new(output: ErrorOutputType) -> Self {
17221722
let emitter = mk_emitter(output);
1723-
Self { handler: rustc_errors::Handler::with_emitter(emitter) }
1723+
Self { handler: Handler::with_emitter(emitter) }
17241724
}
17251725

17261726
pub fn abort_if_errors(&self) {

0 commit comments

Comments
 (0)