diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-07-04 14:08:53 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-07-04 17:21:52 +0000 |
| commit | 25fc6c15869b0bd4241da452ddd2d30b0c16a815 (patch) | |
| tree | fc3e70944b9eff0a90dc71615baf126cdb4c425a | |
| parent | 58c105af04073885703093149c01b0c20d593d6b (diff) | |
| download | rust-25fc6c15869b0bd4241da452ddd2d30b0c16a815.tar.gz rust-25fc6c15869b0bd4241da452ddd2d30b0c16a815.zip | |
add fixme
| -rw-r--r-- | compiler/rustc_hir_typeck/src/callee.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_typeck/src/callee.rs b/compiler/rustc_hir_typeck/src/callee.rs index d29ba810d64..ed9fe8fc856 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(); } } |
