mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Fix typo that resulted in comparison-to-self
This commit is contained in:
@@ -1614,7 +1614,7 @@ fn assemble_candidates_for_unsizing(&mut self,
|
||||
//
|
||||
// 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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user