mirror of https://github.com/rust-lang/rust.git
add fixme
This commit is contained in:
parent
58c105af04
commit
25fc6c1586
|
@ -789,6 +789,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
self.register_predicates(obligations);
|
||||
}
|
||||
Err(e) => {
|
||||
// FIXME(effects): better diagnostic
|
||||
self.err_ctxt().report_mismatched_consts(&cause, effect, param, e).emit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue