make error_reported check for delayed bugs
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user