Tweak delayed bug mentions.
Now that we have both `delayed_bug` and `span_delayed_bug`, it makes sense to use the generic term "delayed bug" more.
This commit is contained in:
parent
e0a0cc2971
commit
d4b77f64e4
15 changed files with 34 additions and 34 deletions
|
@ -411,8 +411,8 @@ impl CodeSuggestion {
|
|||
/// or `.span_bug` rather than a failed assertion, etc.
|
||||
pub struct ExplicitBug;
|
||||
|
||||
/// Signifies that the compiler died with an explicit call to `.delay_*_bug`
|
||||
/// rather than a failed assertion, etc.
|
||||
/// Signifies that the compiler died due to a delayed bug rather than a failed
|
||||
/// assertion, etc.
|
||||
pub struct DelayedBugPanic;
|
||||
|
||||
/// A `DiagCtxt` deals with errors and other compiler output.
|
||||
|
@ -1446,7 +1446,7 @@ impl DiagCtxtInner {
|
|||
{
|
||||
let _ = write!(
|
||||
&mut out,
|
||||
"delayed span bug: {}\n{}\n",
|
||||
"delayed bug: {}\n{}\n",
|
||||
bug.inner
|
||||
.messages
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue