fix: Correct internal error message for ptr_guaranteed_cmp shim The missing-args branch reused the wrapping_add error string. Assisted by an AI coding tool (see CONTRIBUTING.md).
diff --git a/crates/hir-ty/src/mir/eval/shim.rs b/crates/hir-ty/src/mir/eval/shim.rs index a0dd3b5..86d9510 100644 --- a/crates/hir-ty/src/mir/eval/shim.rs +++ b/crates/hir-ty/src/mir/eval/shim.rs
@@ -843,7 +843,7 @@ // cases. let [lhs, rhs] = args else { return Err(MirEvalError::InternalError( - "wrapping_add args are not provided".into(), + "ptr_guaranteed_cmp args are not provided".into(), )); }; let ans = lhs.get(self)? == rhs.get(self)?;