From 25fc6c15869b0bd4241da452ddd2d30b0c16a815 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Tue, 4 Jul 2023 14:08:53 +0000 Subject: [PATCH] add fixme --- compiler/rustc_hir_typeck/src/callee.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_hir_typeck/src/callee.rs b/compiler/rustc_hir_typeck/src/callee.rs index d29ba810d6416..ed9fe8fc856ed 100644 --- a/compiler/rustc_hir_typeck/src/callee.rs +++ b/compiler/rustc_hir_typeck/src/callee.rs @@ -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(); } }