Fix rebase fallout
This commit is contained in:
parent
af2931bdfe
commit
c60583163a
@ -443,7 +443,7 @@ fn check_associated_type_defaults(fcx: &FnCtxt<'_, '_>, trait_def_id: DefId) {
|
||||
// `<Self as Trait<...>>::Assoc` to the default type.
|
||||
let map = tcx
|
||||
.associated_items(trait_def_id)
|
||||
.iter()
|
||||
.in_definition_order()
|
||||
.filter_map(|item| {
|
||||
if item.kind == ty::AssocKind::Type && item.defaultness.has_value() {
|
||||
// `<Self as Trait<...>>::Assoc`
|
||||
|
Loading…
Reference in New Issue
Block a user