do_normalize_predicates: add delay_span_bug
This commit is contained in:
parent
03d66a06e4
commit
fca7d165be
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ fn do_normalize_predicates<'tcx>(
|
|||
}
|
||||
};
|
||||
if predicates.needs_infer() {
|
||||
// FIXME: shouldn't we, you know, actually report an error here? or an ICE?
|
||||
tcx.sess.delay_span_bug(span, "encountered inference variables after `fully_resolve`");
|
||||
Err(ErrorReported)
|
||||
} else {
|
||||
Ok(predicates)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue