avoid .into() conversion to identical types
This commit is contained in:
parent
35a99eef32
commit
0aa4cde747
11 changed files with 17 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue