diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-08-22 00:55:23 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-10-04 23:38:44 +0000 |
| commit | c7cb45a791b0a3191b68a3cfaf5883e1958466ec (patch) | |
| tree | faaab64de17fb33a8473bfff89cda54503a1e3b4 | |
| parent | d9f15faf3a7ceebca239f511d5f06ada5a87b281 (diff) | |
| download | rust-c7cb45a791b0a3191b68a3cfaf5883e1958466ec.tar.gz rust-c7cb45a791b0a3191b68a3cfaf5883e1958466ec.zip | |
Remove stray fixmes.
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect.rs b/compiler/rustc_hir_analysis/src/collect.rs index 02ad5355d25..640907c3e4a 100644 --- a/compiler/rustc_hir_analysis/src/collect.rs +++ b/compiler/rustc_hir_analysis/src/collect.rs @@ -260,7 +260,6 @@ fn reject_placeholder_type_signatures_in_item<'tcx>( | hir::ItemKind::Trait(_, _, generics, ..) | hir::ItemKind::Impl(hir::Impl { generics, .. }) | hir::ItemKind::Struct(_, generics) => (generics, true), - // FIXME: how to handle opaque types since no longer items hir::ItemKind::TyAlias(_, generics) => (generics, false), // `static`, `fn` and `const` are handled elsewhere to suggest appropriate type. _ => return, @@ -744,8 +743,6 @@ fn lower_item(tcx: TyCtxt<'_>, item_id: hir::ItemId) { } } - // FIXME: ok to ignore opaque tys in collection? - // hir::ItemKind::TyAlias(..) => { tcx.ensure().generics_of(def_id); tcx.ensure().type_of(def_id); |
