about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-08-19 20:15:43 +0000
committerMichael Goulet <michael@errs.io>2025-08-19 20:16:19 +0000
commit6a088fd5847b1b24733011fcaab87dfc49853eec (patch)
tree297f507f0e7d26937346f930a31f72b9760090fa /compiler/rustc_borrowck/src
parent16ad385579cebb6f7d53367c552661b6b51a4a02 (diff)
downloadrust-6a088fd5847b1b24733011fcaab87dfc49853eec.tar.gz
rust-6a088fd5847b1b24733011fcaab87dfc49853eec.zip
Defer tail call ret ty equality to check_tail_calls
Diffstat (limited to 'compiler/rustc_borrowck/src')
-rw-r--r--compiler/rustc_borrowck/src/type_check/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/mod.rs b/compiler/rustc_borrowck/src/type_check/mod.rs
index a960b96b91c..8db2904cfd7 100644
--- a/compiler/rustc_borrowck/src/type_check/mod.rs
+++ b/compiler/rustc_borrowck/src/type_check/mod.rs
@@ -1895,7 +1895,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
             if !output_ty
                 .is_privately_uninhabited(self.tcx(), self.infcx.typing_env(self.infcx.param_env))
             {
-                span_mirbug!(self, term, "call to converging function {:?} w/o dest", sig);
+                span_mirbug!(self, term, "call to non-diverging function {:?} w/o dest", sig);
             }
         } else {
             let dest_ty = destination.ty(self.body, tcx).ty;