We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58c105a commit 25fc6c1Copy full SHA for 25fc6c1
1 file changed
compiler/rustc_hir_typeck/src/callee.rs
@@ -789,6 +789,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
789
self.register_predicates(obligations);
790
}
791
Err(e) => {
792
+ // FIXME(effects): better diagnostic
793
self.err_ctxt().report_mismatched_consts(&cause, effect, param, e).emit();
794
795
0 commit comments