Skip to content

Commit 194f150

Browse files
committed
Fix a couple of left-over references to Handler.
1 parent 0188626 commit 194f150

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_errors/src

1 file changed

+2
-2
lines changed

compiler/rustc_errors/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ pub struct ExplicitBug;
407407
/// rather than a failed assertion, etc.
408408
pub struct DelayedBugPanic;
409409

410-
/// A handler deals with errors and other compiler output.
410+
/// A `DiagCtxt` deals with errors and other compiler output.
411411
/// Certain errors (fatal, bug, unimpl) may cause immediate exit,
412412
/// others log errors for later reporting.
413413
pub struct DiagCtxt {
@@ -444,7 +444,7 @@ struct DiagCtxtInner {
444444
emitted_diagnostic_codes: FxIndexSet<DiagnosticId>,
445445

446446
/// This set contains a hash of every diagnostic that has been emitted by
447-
/// this handler. These hashes is used to avoid emitting the same error
447+
/// this `DiagCtxt`. These hashes is used to avoid emitting the same error
448448
/// twice.
449449
emitted_diagnostics: FxHashSet<Hash128>,
450450

0 commit comments

Comments
 (0)