about summary refs log tree commit diff
path: root/compiler/rustc_metadata
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-30 18:20:45 +0000
committerMichael Goulet <michael@errs.io>2023-06-30 18:51:27 +0000
commit0d2fede81720573e850fd9fa2d5faee7d877e6b6 (patch)
tree6020cc38c86b565c4b4dc16e05b1c4f020d7a4e9 /compiler/rustc_metadata
parent8aed93d912ec23819c08e9a89ca1fb461b3cd2e6 (diff)
downloadrust-0d2fede81720573e850fd9fa2d5faee7d877e6b6.tar.gz
rust-0d2fede81720573e850fd9fa2d5faee7d877e6b6.zip
reflow comment, not a FIXME i think
Diffstat (limited to 'compiler/rustc_metadata')
-rw-r--r--compiler/rustc_metadata/src/rmeta/encoder.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/encoder.rs b/compiler/rustc_metadata/src/rmeta/encoder.rs
index b80019bf155..8521fe8f90a 100644
--- a/compiler/rustc_metadata/src/rmeta/encoder.rs
+++ b/compiler/rustc_metadata/src/rmeta/encoder.rs
@@ -1151,10 +1151,10 @@ fn should_encode_type(tcx: TyCtxt<'_>, def_id: LocalDefId, def_kind: DefKind) ->
             let assoc_item = tcx.associated_item(def_id);
             match assoc_item.container {
                 ty::AssocItemContainer::ImplContainer => true,
-                // FIXME(-Zlower-impl-trait-in-trait-to-assoc-ty) always encode RPITITs,
-                // since we need to be able to "project" from an RPITIT associated item
-                // to an opaque when installing the default projection predicates in
-                // default trait methods with RPITITs.
+                // Always encode RPITITs, since we need to be able to project
+                // from an RPITIT associated item to an opaque when installing
+                // the default projection predicates in default trait methods
+                // with RPITITs.
                 ty::AssocItemContainer::TraitContainer => {
                     assoc_item.defaultness(tcx).has_value() || assoc_item.opt_rpitit_info.is_some()
                 }