Skip to content

Commit 679a6ab

Browse files
committed
Remove stray fixmes.
1 parent e4f827c commit 679a6ab

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,
@@ -743,8 +742,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) {
743742
}
744743
}
745744

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

0 commit comments

Comments
 (0)