We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03c5603 + 114f8a0 commit a158670Copy full SHA for a158670
crates/hir-ty/src/mir/eval/shim.rs
@@ -1045,7 +1045,7 @@ impl Evaluator<'_> {
1045
}
1046
"transmute" => {
1047
let [arg] = args else {
1048
- return Err(MirEvalError::TypeError("trasmute arg is not provided"));
+ return Err(MirEvalError::TypeError("transmute arg is not provided"));
1049
};
1050
destination.write_from_interval(self, arg.interval)
1051
@@ -1065,7 +1065,7 @@ impl Evaluator<'_> {
1065
1066
"ctlz" | "ctlz_nonzero" => {
1067
1068
- return Err(MirEvalError::TypeError("cttz arg is not provided"));
+ return Err(MirEvalError::TypeError("ctlz arg is not provided"));
1069
1070
let result =
1071
u128::from_le_bytes(pad16(arg.get(self)?, false)).leading_zeros() as usize;
0 commit comments