mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Fix a couple of left-over references to Handler
.
This commit is contained in:
parent
1b3695887f
commit
aec78dd695
@ -407,7 +407,7 @@ pub struct ExplicitBug;
|
||||
/// rather than a failed assertion, etc.
|
||||
pub struct DelayedBugPanic;
|
||||
|
||||
/// A handler deals with errors and other compiler output.
|
||||
/// A `DiagCtxt` deals with errors and other compiler output.
|
||||
/// Certain errors (fatal, bug, unimpl) may cause immediate exit,
|
||||
/// others log errors for later reporting.
|
||||
pub struct DiagCtxt {
|
||||
@ -444,7 +444,7 @@ struct DiagCtxtInner {
|
||||
emitted_diagnostic_codes: FxIndexSet<DiagnosticId>,
|
||||
|
||||
/// This set contains a hash of every diagnostic that has been emitted by
|
||||
/// this handler. These hashes is used to avoid emitting the same error
|
||||
/// this `DiagCtxt`. These hashes is used to avoid emitting the same error
|
||||
/// twice.
|
||||
emitted_diagnostics: FxHashSet<Hash128>,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user