Skip to content

Commit c605831

Browse files
Fix rebase fallout
1 parent af2931b commit c605831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/wfcheck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ fn check_associated_type_defaults(fcx: &FnCtxt<'_, '_>, trait_def_id: DefId) {
443443
// `<Self as Trait<...>>::Assoc` to the default type.
444444
let map = tcx
445445
.associated_items(trait_def_id)
446-
.iter()
446+
.in_definition_order()
447447
.filter_map(|item| {
448448
if item.kind == ty::AssocKind::Type && item.defaultness.has_value() {
449449
// `<Self as Trait<...>>::Assoc`

0 commit comments

Comments
 (0)