about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-08-31 04:03:24 +0000
committerMichael Goulet <michael@errs.io>2022-09-09 01:31:44 +0000
commitd34cb98fb0bbaf86860b4ad5ff0c3d79b077f565 (patch)
tree31f9a2b56052f3bfed4ee797ffca15678c985cb6 /compiler/rustc_resolve/src/late
parent78b962a4f348c0b901d2eae9e5852cb3675b1233 (diff)
downloadrust-d34cb98fb0bbaf86860b4ad5ff0c3d79b077f565.tar.gz
rust-d34cb98fb0bbaf86860b4ad5ff0c3d79b077f565.zip
Lower RPITIT to ImplTraitPlaceholder item
Diffstat (limited to 'compiler/rustc_resolve/src/late')
-rw-r--r--compiler/rustc_resolve/src/late/lifetimes.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/lifetimes.rs b/compiler/rustc_resolve/src/late/lifetimes.rs
index b72b033534b..e9e4f8fc483 100644
--- a/compiler/rustc_resolve/src/late/lifetimes.rs
+++ b/compiler/rustc_resolve/src/late/lifetimes.rs
@@ -597,7 +597,8 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
                 }
             }
             hir::ItemKind::ImplTraitPlaceholder(..) => {
-                // FIXME(RPITIT): We don't need to do anything here, right?
+                // FIXME(RPITIT): We don't need to do anything special here, right?
+                intravisit::walk_item(self, item);
             }
             hir::ItemKind::TyAlias(_, ref generics)
             | hir::ItemKind::Enum(_, ref generics)