Skip to content

Commit a82efce

Browse files
committed
remove some unnecessary trait bounds
1 parent 17c52d4 commit a82efce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shims/intrinsics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::convert::TryFrom;
33

44
use rustc_ast::ast::FloatTy;
55
use rustc_middle::{mir, ty};
6-
use rustc_apfloat::{Float, FloatConvert, Round, ieee::{Double, Single}};
6+
use rustc_apfloat::{Float, Round};
77
use rustc_target::abi::{Align, LayoutOf, Size};
88

99
use crate::*;
@@ -515,7 +515,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
515515
dest_ty: ty::Ty<'tcx>,
516516
) -> InterpResult<'tcx, Scalar<Tag>>
517517
where
518-
F: Float + Into<Scalar<Tag>> + FloatConvert<Single> + FloatConvert<Double>,
518+
F: Float + Into<Scalar<Tag>>
519519
{
520520
let this = self.eval_context_ref();
521521

0 commit comments

Comments
 (0)