@@ -217,7 +217,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
217
217
218
218
/// Helper function to get a `windows` constant as a `Scalar`.
219
219
fn eval_windows ( & self , module : & str , name : & str ) -> Scalar < Provenance > {
220
- self . eval_context_ref ( ) . eval_path_scalar ( & [ "std" , "sys" , "pal" , "windows" , module, name] )
220
+ self . eval_context_ref ( ) . eval_path_scalar ( & [ "std" , "sys" , "pal" , "windows" , module, name] )
221
221
}
222
222
223
223
/// Helper function to get a `windows` constant as a `u32`.
@@ -249,7 +249,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
249
249
fn windows_ty_layout ( & self , name : & str ) -> TyAndLayout < ' tcx > {
250
250
let this = self . eval_context_ref ( ) ;
251
251
let ty = this
252
- . resolve_path ( & [ "std" , "sys" , "pal" , "windows" , "c" , name] , Namespace :: TypeNS )
252
+ . resolve_path ( & [ "std" , "sys" , "pal" , "windows" , "c" , name] , Namespace :: TypeNS )
253
253
. ty ( * this. tcx , ty:: ParamEnv :: reveal_all ( ) ) ;
254
254
this. layout_of ( ty) . unwrap ( )
255
255
}
0 commit comments