avoid .into() conversion to identical types
This commit is contained in:
parent
35a99eef32
commit
0aa4cde747
11 changed files with 17 additions and 27 deletions
|
@ -1920,7 +1920,7 @@ impl<'tcx> TypeTrace<'tcx> {
|
|||
) -> TypeTrace<'tcx> {
|
||||
TypeTrace {
|
||||
cause: cause.clone(),
|
||||
values: PolyTraitRefs(ExpectedFound::new(a_is_expected, a.into(), b.into())),
|
||||
values: PolyTraitRefs(ExpectedFound::new(a_is_expected, a, b)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue