diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-10 19:50:40 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-10 19:50:47 +0000 |
| commit | 916d279236ad017c0c1955c1d7951fa3ea09bf16 (patch) | |
| tree | 49900f24e22b9cd84d9b5a6b48ccb93cd1e4f001 /src/librustdoc | |
| parent | 33c245b9e98bc91e18ea1c5033824f4c6f92766f (diff) | |
| download | rust-916d279236ad017c0c1955c1d7951fa3ea09bf16.tar.gz rust-916d279236ad017c0c1955c1d7951fa3ea09bf16.zip | |
Remove more traces of anonymous ADTs
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 34141c47cf3..50dfe0a1b56 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -1841,9 +1841,6 @@ pub(crate) fn clean_ty<'tcx>(ty: &hir::Ty<'tcx>, cx: &mut DocContext<'tcx>) -> T TyKind::BareFn(barefn) => BareFunction(Box::new(clean_bare_fn_ty(barefn, cx))), // Rustdoc handles `TyKind::Err`s by turning them into `Type::Infer`s. TyKind::Infer | TyKind::Err(_) | TyKind::Typeof(..) | TyKind::InferDelegation(..) => Infer, - TyKind::AnonAdt(..) => { - unimplemented!("Anonymous structs or unions are not supported yet") - } } } |
