diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2022-06-29 15:25:14 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2022-06-29 15:25:14 -0700 |
| commit | 2d2fd3168707567a1349230c0be609a860e60759 (patch) | |
| tree | 086f3ca4d11d44981af3f76a6a32a873c854fcd7 | |
| parent | 8192288ee067054faf255335bfc249ed5cafa6d3 (diff) | |
| download | rust-2d2fd3168707567a1349230c0be609a860e60759.tar.gz rust-2d2fd3168707567a1349230c0be609a860e60759.zip | |
Remove FIXME that hasn't been an issue in practice
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index c64df71f41d..181416a2b4a 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -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), } } |
