Skip to content

Commit a158670

Browse files
committed
Auto merge of #15718 - Toby222:master, r=lnicola
Fix typos exec_intrinsic Fix names of intrinsics in error messages from exec_intrinsic (moved from #116478)
2 parents 03c5603 + 114f8a0 commit a158670

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ impl Evaluator<'_> {
10451045
}
10461046
"transmute" => {
10471047
let [arg] = args else {
1048-
return Err(MirEvalError::TypeError("trasmute arg is not provided"));
1048+
return Err(MirEvalError::TypeError("transmute arg is not provided"));
10491049
};
10501050
destination.write_from_interval(self, arg.interval)
10511051
}
@@ -1065,7 +1065,7 @@ impl Evaluator<'_> {
10651065
}
10661066
"ctlz" | "ctlz_nonzero" => {
10671067
let [arg] = args else {
1068-
return Err(MirEvalError::TypeError("cttz arg is not provided"));
1068+
return Err(MirEvalError::TypeError("ctlz arg is not provided"));
10691069
};
10701070
let result =
10711071
u128::from_le_bytes(pad16(arg.get(self)?, false)).leading_zeros() as usize;

0 commit comments

Comments
 (0)