@@ -8,7 +8,7 @@ use rustc_middle::ty::adjustment::PointerCoercion;
8
8
use rustc_middle:: ty:: layout:: { IntegerExt , LayoutOf , TyAndLayout } ;
9
9
use rustc_middle:: ty:: { self , FloatTy , Ty , TypeAndMut } ;
10
10
use rustc_target:: abi:: Integer ;
11
- use rustc_type_ir:: sty :: TyKind :: * ;
11
+ use rustc_type_ir:: TyKind :: * ;
12
12
13
13
use super :: {
14
14
util:: ensure_monomorphic_enough, FnVal , ImmTy , Immediate , InterpCx , Machine , OpTy , PlaceTy ,
@@ -185,7 +185,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
185
185
src : & ImmTy < ' tcx , M :: Provenance > ,
186
186
cast_to : TyAndLayout < ' tcx > ,
187
187
) -> InterpResult < ' tcx , ImmTy < ' tcx , M :: Provenance > > {
188
- use rustc_type_ir:: sty :: TyKind :: * ;
188
+ use rustc_type_ir:: TyKind :: * ;
189
189
190
190
let val = match src. layout . ty . kind ( ) {
191
191
// Floating point
@@ -310,7 +310,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
310
310
where
311
311
F : Float + Into < Scalar < M :: Provenance > > + FloatConvert < Single > + FloatConvert < Double > ,
312
312
{
313
- use rustc_type_ir:: sty :: TyKind :: * ;
313
+ use rustc_type_ir:: TyKind :: * ;
314
314
315
315
fn adjust_nan <
316
316
' mir ,
0 commit comments