avoid .into() conversion to identical types
This commit is contained in:
@@ -1735,8 +1735,8 @@ impl<'tcx> InferCtxtPrivExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
|
||||
values.map(|(_, is_normalized_ty_expected, normalized_ty, expected_ty)| {
|
||||
infer::ValuePairs::Terms(ExpectedFound::new(
|
||||
is_normalized_ty_expected,
|
||||
normalized_ty.into(),
|
||||
expected_ty.into(),
|
||||
normalized_ty,
|
||||
expected_ty,
|
||||
))
|
||||
}),
|
||||
err,
|
||||
|
||||
Reference in New Issue
Block a user