We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9f15fa commit c7cb45aCopy full SHA for c7cb45a
compiler/rustc_hir_analysis/src/collect.rs
@@ -260,7 +260,6 @@ fn reject_placeholder_type_signatures_in_item<'tcx>(
260
| hir::ItemKind::Trait(_, _, generics, ..)
261
| hir::ItemKind::Impl(hir::Impl { generics, .. })
262
| hir::ItemKind::Struct(_, generics) => (generics, true),
263
- // FIXME: how to handle opaque types since no longer items
264
hir::ItemKind::TyAlias(_, generics) => (generics, false),
265
// `static`, `fn` and `const` are handled elsewhere to suggest appropriate type.
266
_ => return,
@@ -744,8 +743,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) {
744
743
}
745
746
747
- // FIXME: ok to ignore opaque tys in collection?
748
- //
749
hir::ItemKind::TyAlias(..) => {
750
tcx.ensure().generics_of(def_id);
751
tcx.ensure().type_of(def_id);
0 commit comments