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>(
260
260
| hir:: ItemKind :: Trait ( _, _, generics, ..)
261
261
| hir:: ItemKind :: Impl ( hir:: Impl { generics, .. } )
262
262
| hir:: ItemKind :: Struct ( _, generics) => ( generics, true ) ,
263
- // FIXME: how to handle opaque types since no longer items
264
263
hir:: ItemKind :: TyAlias ( _, generics) => ( generics, false ) ,
265
264
// `static`, `fn` and `const` are handled elsewhere to suggest appropriate type.
266
265
_ => return ,
@@ -744,8 +743,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) {
744
743
}
745
744
}
746
745
747
- // FIXME: ok to ignore opaque tys in collection?
748
- //
749
746
hir:: ItemKind :: TyAlias ( ..) => {
750
747
tcx. ensure ( ) . generics_of ( def_id) ;
751
748
tcx. ensure ( ) . type_of ( def_id) ;
You can’t perform that action at this time.
0 commit comments