make error_reported
check for delayed bugs
This commit is contained in:
parent
4e0d0d757e
commit
72d8879c29
8 changed files with 44 additions and 10 deletions
|
@ -667,7 +667,7 @@ impl<K: DepKind> DepGraph<K> {
|
|||
None => {}
|
||||
}
|
||||
|
||||
if !qcx.dep_context().sess().has_errors_or_delayed_span_bugs() {
|
||||
if let None = qcx.dep_context().sess().has_errors_or_delayed_span_bugs() {
|
||||
panic!("try_mark_previous_green() - Forcing the DepNode should have set its color")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue