mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 17:28:09 +00:00
Fix typos exec_intrinsic
This commit is contained in:
parent
03c5603035
commit
114f8a07e9
1 changed files with 2 additions and 2 deletions
|
@ -1045,7 +1045,7 @@ impl Evaluator<'_> {
|
|||
}
|
||||
"transmute" => {
|
||||
let [arg] = args else {
|
||||
return Err(MirEvalError::TypeError("trasmute arg is not provided"));
|
||||
return Err(MirEvalError::TypeError("transmute arg is not provided"));
|
||||
};
|
||||
destination.write_from_interval(self, arg.interval)
|
||||
}
|
||||
|
@ -1065,7 +1065,7 @@ impl Evaluator<'_> {
|
|||
}
|
||||
"ctlz" | "ctlz_nonzero" => {
|
||||
let [arg] = args else {
|
||||
return Err(MirEvalError::TypeError("cttz arg is not provided"));
|
||||
return Err(MirEvalError::TypeError("ctlz arg is not provided"));
|
||||
};
|
||||
let result =
|
||||
u128::from_le_bytes(pad16(arg.get(self)?, false)).leading_zeros() as usize;
|
||||
|
|
Loading…
Reference in a new issue