about summary refs log tree commit diff
path: root/src/librustdoc/passes
AgeCommit message (Expand)AuthorLines
2021-03-28Inline `find_suffix` closure that's only used onceCamelid-18/+14
2021-03-28Point to disambiguator instead of whole linkCamelid-10/+29
2021-03-26Lint on unknown intra-doc link disambiguatorsCamelid-11/+34
2021-03-24Rework rustdoc const typeGuillaume Gomez-3/+7
2021-03-24Rollup merge of #83415 - camelid:remove-crate-module-option, r=jyn514Dylan DPC-6/+2
2021-03-23Remove unnecessary `Option` wrapping around `Crate.module`Camelid-6/+2
2021-03-21Rename `clean::Span::span()` to `clean::Span::inner()`Camelid-8/+8
2021-03-21Rename `clean::Item.source` to `span`Camelid-12/+10
2021-03-07Rollup merge of #82402 - jyn514:module-cache-refcell, r=GuillaumeGomezYuki Okushi-45/+51
2021-03-05Make ItemKind::ExternCrate looks like hir::ItemKind::ExternCrate to make tran...Guillaume Gomez-4/+6
2021-03-04Use cache access levelsGuillaume Gomez-1/+1
2021-03-04No more need for borrow callGuillaume Gomez-1/+1
2021-03-04Pass TyCtxt directly instead of DocContext in librustdoc::visit_ast::inherits...Guillaume Gomez-1/+1
2021-03-04Move visibility check inside the should_have_doc_example functionGuillaume Gomez-17/+17
2021-03-04Don't warn for `missing_doc_examples` when item is #[doc(hidden)]Guillaume Gomez-1/+10
2021-03-04Remove RefCell around module_trait_cacheJoshua Nelson-24/+26
2021-03-04Don't require a `DocContext` for `report_diagnostic`Joshua Nelson-22/+26
2021-03-04Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomezYuki Okushi-12/+7
2021-03-01Move lint machinery into a separate fileJoshua Nelson-6/+6
2021-03-01Rename rustdoc lints to be a tool lint instead of built-in.Joshua Nelson-12/+7
2021-03-01Remove the dummy cache in `DocContext`Joshua Nelson-5/+4
2021-02-28Auto merge of #81349 - jyn514:blanket-impls-cleanup, r=lcnrbors-8/+2
2021-02-28Remove unnecessary `self_ty` parameter to `get_blanket_impls`Joshua Nelson-8/+2
2021-02-26Update src/librustdoc/passes/collect_intra_doc_links.rsLucas De Angelis-1/+1
2021-02-26Fix formattingLucas De Angelis-1/+6
2021-02-26Fix intra-doc handling of `Self` in enumLucas De Angelis-0/+3
2021-02-25Rollup merge of #81575 - camelid:rustdoc-wrongnamespace-cleanup, r=jyn514Dylan DPC-17/+22
2021-02-23rustdoc: Name fields of `ResolutionFailure::WrongNamespace`Camelid-17/+22
2021-02-22Remove many RefCells from DocContextCamelid-7/+5
2021-02-22Auto merge of #82295 - jyn514:feature-gate, r=Manishearthbors-0/+3
2021-02-19[intra-doc links] Don't check feature gates of items re-exported across cratesJoshua Nelson-0/+3
2021-02-16Make `Clean` take &mut DocContextJoshua Nelson-16/+22
2021-02-16Take `&mut DocContext` in passesJoshua Nelson-82/+48
2021-02-15Trait impls are Items, therefore HIR owners.Camille GILLOT-2/+2
2021-02-11Fix private intra-doc warnings on associated itemsJoshua Nelson-4/+5
2021-02-04Cleanup rustdoc pass descriptions a bitCamelid-6/+6
2021-01-30Rollup merge of #81495 - camelid:rustdoc-output_format-optional, r=GuillaumeG...Yuki Okushi-1/+1
2021-01-30rustdoc tweakingbors-23/+21
2021-01-28rustdoc: Remove unnecessary optionalCamelid-1/+1
2021-01-28Rollup merge of #81284 - jyn514:impl-times, r=wesleywiserYuki Okushi-10/+8
2021-01-27Remove cache usage wherever possibleGuillaume Gomez-19/+15
2021-01-27Remove CACHE_KEY globalGuillaume Gomez-17/+26
2021-01-23Make `-Z time-passes` less noisyJoshua Nelson-10/+8
2021-01-21Fix rustc::internal lints on rustdocJoshua Nelson-4/+4
2021-01-17Feature-gate `pointer` and `reference` in intra-doc linksJoshua Nelson-3/+26
2021-01-17Rollup merge of #80765 - petrochenkov:traitsinscope, r=matthewjasperMara Bos-2/+7
2021-01-15Rename VariantKind -> VariantJoshua Nelson-1/+1
2021-01-15Remove useless `clean::Variant` structJoshua Nelson-1/+1
2021-01-12Rollup merge of #80885 - camelid:intra-doc-str-ref, r=jyn514Yuki Okushi-1/+1
2021-01-11resolve: Simplify collection of traits in scopeVadim Petrochenkov-2/+7