We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8192288 commit 2d2fd31Copy full SHA for 2d2fd31
src/librustdoc/clean/mod.rs
@@ -1759,7 +1759,6 @@ fn is_field_vis_inherited(tcx: TyCtxt<'_>, def_id: DefId) -> bool {
1759
match tcx.def_kind(parent) {
1760
DefKind::Struct | DefKind::Union => false,
1761
DefKind::Variant => true,
1762
- // FIXME: what about DefKind::Ctor?
1763
parent_kind => panic!("unexpected parent kind: {:?}", parent_kind),
1764
}
1765
0 commit comments