We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f827c commit 679a6abCopy full SHA for 679a6ab
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,
@@ -743,8 +742,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) {
743
742
}
744
745
746
- // FIXME: ok to ignore opaque tys in collection?
747
- //
748
hir::ItemKind::TyAlias(..) => {
749
tcx.ensure().generics_of(def_id);
750
tcx.ensure().type_of(def_id);
0 commit comments