File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/hir-ty/src/mir/eval Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1045,7 +1045,7 @@ impl Evaluator<'_> {
1045
1045
}
1046
1046
"transmute" => {
1047
1047
let [ arg] = args else {
1048
- return Err ( MirEvalError :: TypeError ( "trasmute arg is not provided" ) ) ;
1048
+ return Err ( MirEvalError :: TypeError ( "transmute arg is not provided" ) ) ;
1049
1049
} ;
1050
1050
destination. write_from_interval ( self , arg. interval )
1051
1051
}
@@ -1065,7 +1065,7 @@ impl Evaluator<'_> {
1065
1065
}
1066
1066
"ctlz" | "ctlz_nonzero" => {
1067
1067
let [ arg] = args else {
1068
- return Err ( MirEvalError :: TypeError ( "cttz arg is not provided" ) ) ;
1068
+ return Err ( MirEvalError :: TypeError ( "ctlz arg is not provided" ) ) ;
1069
1069
} ;
1070
1070
let result =
1071
1071
u128:: from_le_bytes ( pad16 ( arg. get ( self ) ?, false ) ) . leading_zeros ( ) as usize ;
You can’t perform that action at this time.
0 commit comments