Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25fc6c1

Browse files
committedJul 4, 2023
add fixme
1 parent 58c105a commit 25fc6c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎compiler/rustc_hir_typeck/src/callee.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
789789
self.register_predicates(obligations);
790790
}
791791
Err(e) => {
792+
// FIXME(effects): better diagnostic
792793
self.err_ctxt().report_mismatched_consts(&cause, effect, param, e).emit();
793794
}
794795
}

0 commit comments

Comments
 (0)
Please sign in to comment.