Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #21880 from cuiweixie/fix/shim-ptr-guaranteed-cmp-error-msg
fix: Correct internal error message for ptr_guaranteed_cmp shim
Chayim Refael Friedman 7 weeks ago
parent 4d9af83 · parent edb8fc5 · commit 6e97128
-rw-r--r--crates/hir-ty/src/mir/eval/shim.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/mir/eval/shim.rs b/crates/hir-ty/src/mir/eval/shim.rs
index a0dd3b5846..86d9510601 100644
--- a/crates/hir-ty/src/mir/eval/shim.rs
+++ b/crates/hir-ty/src/mir/eval/shim.rs
@@ -843,7 +843,7 @@ impl<'db> Evaluator<'db> {
// 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)?;