We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d66a0 commit fca7d16Copy full SHA for fca7d16
src/librustc_trait_selection/traits/mod.rs
@@ -260,7 +260,7 @@ fn do_normalize_predicates<'tcx>(
260
}
261
};
262
if predicates.needs_infer() {
263
- // 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`");
264
Err(ErrorReported)
265
} else {
266
Ok(predicates)
0 commit comments