about summary refs log tree commit diff
path: root/src/librustdoc/passes/doc_test_lints.rs
AgeCommit message (Expand)AuthorLines
2021-10-02rustdoc: Improve doctest pass's name and module's nameNoah Lev-141/+0
2021-09-17Don't lint about missing code examples in derived traitsHans-0/+1
2021-09-09Allow missing code examples in trait impls.Hans Niklas Jacob-0/+20
2021-07-05Revert "rustdoc: Store DefId's in ItemId on heap for decreasing Item's size"Justus K-1/+1
2021-07-05rustdoc: Store DefId's in ItemId on heap for decreasing Item's sizeJustus K-1/+1
2021-07-05rustdoc: Rename `expect_real` to `expect_def_id`, remove `Item::is_fake`Justus K-4/+5
2021-05-08Remove `FakeDefId::expect_local()`Camelid-1/+3
2021-05-04Add type to differentiate between fake and real DefId'sJustus K-2/+3
2021-04-24Add attr_span helper functionJoshua Nelson-3/+3
2021-03-21Rename `clean::Span::span()` to `clean::Span::inner()`Camelid-2/+2
2021-03-21Rename `clean::Item.source` to `span`Camelid-2/+2
2021-03-07Rollup merge of #82402 - jyn514:module-cache-refcell, r=GuillaumeGomezYuki Okushi-1/+1
2021-03-05Make ItemKind::ExternCrate looks like hir::ItemKind::ExternCrate to make tran...Guillaume Gomez-1/+1
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-04Don't require a `DocContext` for `report_diagnostic`Joshua Nelson-1/+1
2021-03-04Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomezYuki Okushi-4/+3
2021-03-01Move lint machinery into a separate fileJoshua Nelson-3/+3
2021-03-01Rename rustdoc lints to be a tool lint instead of built-in.Joshua Nelson-4/+3
2021-03-01Remove the dummy cache in `DocContext`Joshua Nelson-1/+1
2021-02-22Remove many RefCells from DocContextCamelid-2/+1
2021-02-16Take `&mut DocContext` in passesJoshua Nelson-11/+4
2021-02-04Cleanup rustdoc pass descriptions a bitCamelid-2/+2
2020-12-29Auto merge of #80014 - jyn514:box-item-kind, r=nnethercotebors-1/+1
2020-12-23Box ItemKind to reduce the size of `Item`Joshua Nelson-1/+1
2020-12-21Rename rustc_middle::lint::LintSourcepierwill-2/+2
2020-12-16Replace String with Symbol where possibleGuillaume Gomez-11/+12
2020-11-22Make `fold_item_recur` non-nullableJoshua Nelson-1/+1
2020-11-15Make all rustdoc functions and structs crate-privateJoshua Nelson-4/+4
2020-11-15Rollup merge of #79041 - jyn514:inner-to-kind, r=petrochenkovJonas Schievink-1/+1
2020-11-14Rename ItemEnum -> ItemKind, inner -> kindJoshua Nelson-1/+1
2020-11-07Allow making `RUSTC_BOOTSTRAP` conditional on the crate nameJoshua Nelson-3/+1
2020-10-12Improve lint level handlingGuillaume Gomez-1/+1
2020-10-12Apply same treatment to MISSING_DOC_CODE_EXAMPLESGuillaume Gomez-4/+11
2020-09-12Don't emit an error on private doc tests when they're ignoredGuillaume Gomez-10/+6
2020-08-27Rename rustdoc/test -> rustdoc/doctestAleksey Kladov-1/+1
2020-08-26Fix swapped stability attributesJoshua Nelson-6/+6
2020-08-21Unify checks for lint missing_doc_code_examples and --show-coverageGuillaume Gomez-7/+18
2020-08-18Add doc examples count for --show-coverageGuillaume Gomez-11/+17
2020-07-27private_items_doc_tests -> doc_test_lintsJoshua Nelson-0/+97