Skip to content

Commit

Permalink
Remove FIXME that hasn't been an issue in practice
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Jun 29, 2022
1 parent 8192288 commit 2d2fd31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/clean/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,6 @@ fn is_field_vis_inherited(tcx: TyCtxt<'_>, def_id: DefId) -> bool {
match tcx.def_kind(parent) {
DefKind::Struct | DefKind::Union => false,
DefKind::Variant => true,
// FIXME: what about DefKind::Ctor?
parent_kind => panic!("unexpected parent kind: {:?}", parent_kind),
}
}
Expand Down

0 comments on commit 2d2fd31

Please sign in to comment.