Skip to content

Commit a3808d6

Browse files
committed
Remove unnecessary qualifiers.
1 parent 698e4a0 commit a3808d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_session/src/session.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ impl Session {
676676
}
677677

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

@@ -1411,7 +1411,7 @@ pub fn build_session(
14111411
);
14121412
let emitter = default_emitter(&sopts, registry, source_map.clone(), bundle, fallback_bundle);
14131413

1414-
let mut span_diagnostic = rustc_errors::Handler::with_emitter(emitter)
1414+
let mut span_diagnostic = Handler::with_emitter(emitter)
14151415
.with_flags(sopts.unstable_opts.diagnostic_handler_flags(can_emit_warnings));
14161416
if let Some(ice_file) = ice_file {
14171417
span_diagnostic = span_diagnostic.with_ice_file(ice_file);
@@ -1700,7 +1700,7 @@ pub struct EarlyErrorHandler {
17001700
impl EarlyErrorHandler {
17011701
pub fn new(output: ErrorOutputType) -> Self {
17021702
let emitter = mk_emitter(output);
1703-
Self { handler: rustc_errors::Handler::with_emitter(emitter) }
1703+
Self { handler: Handler::with_emitter(emitter) }
17041704
}
17051705

17061706
pub fn abort_if_errors(&self) {

0 commit comments

Comments
 (0)