Skip to content

Commit c7cb45a

Browse files
committed
Remove stray fixmes.
1 parent d9f15fa commit c7cb45a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_hir_analysis/src/collect.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ fn reject_placeholder_type_signatures_in_item<'tcx>(
260260
| hir::ItemKind::Trait(_, _, generics, ..)
261261
| hir::ItemKind::Impl(hir::Impl { generics, .. })
262262
| hir::ItemKind::Struct(_, generics) => (generics, true),
263-
// FIXME: how to handle opaque types since no longer items
264263
hir::ItemKind::TyAlias(_, generics) => (generics, false),
265264
// `static`, `fn` and `const` are handled elsewhere to suggest appropriate type.
266265
_ => return,
@@ -744,8 +743,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) {
744743
}
745744
}
746745

747-
// FIXME: ok to ignore opaque tys in collection?
748-
//
749746
hir::ItemKind::TyAlias(..) => {
750747
tcx.ensure().generics_of(def_id);
751748
tcx.ensure().type_of(def_id);

0 commit comments

Comments
 (0)