Skip to content

Commit 0d2fede

Browse files
reflow comment, not a FIXME i think
1 parent 8aed93d commit 0d2fede

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1151,10 +1151,10 @@ fn should_encode_type(tcx: TyCtxt<'_>, def_id: LocalDefId, def_kind: DefKind) ->
11511151
let assoc_item = tcx.associated_item(def_id);
11521152
match assoc_item.container {
11531153
ty::AssocItemContainer::ImplContainer => true,
1154-
// FIXME(-Zlower-impl-trait-in-trait-to-assoc-ty) always encode RPITITs,
1155-
// since we need to be able to "project" from an RPITIT associated item
1156-
// to an opaque when installing the default projection predicates in
1157-
// default trait methods with RPITITs.
1154+
// Always encode RPITITs, since we need to be able to project
1155+
// from an RPITIT associated item to an opaque when installing
1156+
// the default projection predicates in default trait methods
1157+
// with RPITITs.
11581158
ty::AssocItemContainer::TraitContainer => {
11591159
assoc_item.defaultness(tcx).has_value() || assoc_item.opt_rpitit_info.is_some()
11601160
}

0 commit comments

Comments
 (0)