Fix typo that resulted in comparison-to-self
This commit is contained in:
parent
0eb4d46d03
commit
f9cb7dfc0c
1 changed files with 1 additions and 1 deletions
|
|
@ -1614,7 +1614,7 @@ impl<'cx, 'gcx, 'tcx> SelectionContext<'cx, 'gcx, 'tcx> {
|
|||
//
|
||||
// We always upcast when we can because of reason
|
||||
// #2 (region bounds).
|
||||
data_a.principal.def_id() == data_a.principal.def_id() &&
|
||||
data_a.principal.def_id() == data_b.principal.def_id() &&
|
||||
data_a.builtin_bounds.is_superset(&data_b.builtin_bounds)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue