File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
compiler/rustc_hir_analysis/src Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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) ;
You can’t perform that action at this time.
0 commit comments