Skip to content

Commit 6e97128

Browse files
Merge pull request #21880 from cuiweixie/fix/shim-ptr-guaranteed-cmp-error-msg
fix: Correct internal error message for ptr_guaranteed_cmp shim
2 parents 4d9af83 + edb8fc5 commit 6e97128

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/hir-ty/src/mir/eval/shim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ impl<'db> Evaluator<'db> {
843843
// cases.
844844
let [lhs, rhs] = args else {
845845
return Err(MirEvalError::InternalError(
846-
"wrapping_add args are not provided".into(),
846+
"ptr_guaranteed_cmp args are not provided".into(),
847847
));
848848
};
849849
let ans = lhs.get(self)? == rhs.get(self)?;

0 commit comments

Comments
 (0)