about summary refs log tree commit diff
path: root/src/librustdoc/passes/collect_intra_doc_links.rs
AgeCommit message (Expand)AuthorLines
2021-09-24resolve: Refactor obtaining `Module` from its `DefId`Vadim Petrochenkov-1/+1
2021-09-21Revert the rustdoc box syntax removalest31-1/+1
2021-09-12Fix broken handling of primitive itemsJoshua Nelson-36/+23
2021-09-11don't clone types that are Copy (clippy::clone_on_copy)Matthias Krüger-1/+1
2021-08-26Fix the bugs and add a regression testJoshua Nelson-1/+1
2021-08-22Revert "Revert "Don't load all extern crates unconditionally""Joshua Nelson-0/+3
2021-08-18remove box_syntax uses from cranelift and toolsMarcel Hellwig-1/+1
2021-08-04Auto merge of #87568 - petrochenkov:localevel, r=cjgillotbors-5/+2
2021-08-03don't use .into() to convert types to identical types (clippy::useless_conver...Matthias Krüger-6/+6
2021-07-31rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tablesVadim Petrochenkov-5/+2
2021-07-29Change span for intra-doc links errorsGuillaume Gomez-24/+73
2021-07-12suggest removing disambiguator if linking to fieldDeadbeef-0/+6
2021-07-05Revert "rustdoc: Store DefId's in ItemId on heap for decreasing Item's size"Justus K-28/+30
2021-07-05rustdoc: Store DefId's in ItemId on heap for decreasing Item's sizeJustus K-30/+28
2021-07-05rustdoc: Rename `expect_real` to `expect_def_id`, remove `Item::is_fake`Justus K-41/+40
2021-07-01Revert "Don't load all extern crates unconditionally"Guillaume Gomez-3/+0
2021-06-23Rollup merge of #86523 - LeSeulArtichaut:macros-disambiguators, r=jyn514Dylan DPC-27/+12
2021-06-22Accept `!{}` and `![]` as macro disambiguatorsLeSeulArtichaut-3/+5
2021-06-22Rollup merge of #86334 - LeSeulArtichaut:86120-links-type-aliases, r=jyn514Yuki Okushi-5/+46
2021-06-21Fix handling of disambiguator suffixes for intra-doc linksLeSeulArtichaut-27/+10
2021-06-21Resolve type aliases to the type they point to in intra-doc linksLeSeulArtichaut-5/+46
2021-06-14Use the now available implementation of `IntoIterator` for arraysLeSeulArtichaut-4/+4
2021-06-05Auto merge of #85990 - jyn514:channel-replace-rustdoc, r=Manishearthbors-2/+5
2021-06-04rustdoc: link consistently to stable/beta in diagnostic messagesJoshua Nelson-2/+5
2021-05-20Remove `PrimitiveType::as_str`Joshua Nelson-6/+6
2021-05-17Auto merge of #85178 - cjgillot:local-crate, r=oli-obkbors-4/+2
2021-05-15Minimize amount of fake `DefId`s used in rustdocJustus K-42/+21
2021-05-12Use () for privacy.Camille GILLOT-4/+2
2021-05-08Remove `FakeDefId::expect_local()`Camelid-1/+5
2021-05-07rustdoc: Link to the docs on namespaces when an unknown disambiguator is foundJoshua Nelson-1/+4
2021-05-05Revert PR 83866Pietro Albini-8/+1
2021-05-04Add type to differentiate between fake and real DefId'sJustus K-36/+60
2021-04-27cfg taken out of Attributes, put in ItemTimothée Delabrouille-6/+2
2021-04-27Removed usage of Attributes in FnDecl and ExternalCrate. Relocate part of the...Timothée Delabrouille-7/+12
2021-04-24Add attr_span helper functionJoshua Nelson-6/+3
2021-04-17rustdoc: Give a more accurate span for anchor failuresJoshua Nelson-8/+16
2021-04-15Rollup merge of #84201 - jyn514:primitive-warnings, r=cuviperDylan DPC-0/+4
2021-04-14rustdoc: Note that forbidding anchors in links to primitives is a bugJoshua Nelson-0/+4
2021-04-11Move crate loader to collect_intra_doc_links::earlyJoshua Nelson-11/+14
2021-04-10Preprocess intra-doc links consistentlyJoshua Nelson-82/+138
2021-04-07Reuse logic for determining the channel in the rest of rustdocJoshua Nelson-9/+3
2021-04-07rustdoc: Link to the docs on namespaces when an unknown disambiguator is foundJoshua Nelson-1/+14
2021-04-06Store links in Cache instead of on items directlyJoshua Nelson-2/+2
2021-04-06Auto merge of #83875 - jyn514:diag_info, r=bugadanibors-124/+52
2021-04-06Rollup merge of #83849 - jyn514:intra-doc-cleanup, r=bugadaniYuki Okushi-135/+102
2021-04-05Use DiagnosticInfo for `report_diagnostic`Joshua Nelson-39/+29
2021-04-05Take DiagnosticInfo in privacy_errorJoshua Nelson-3/+7
2021-04-05Take `DiagnosticInfo` in `ambiguity_error`Joshua Nelson-12/+3
2021-04-05Take DiagnosticInfo in disambiguator_errorJoshua Nelson-3/+2
2021-04-05Rename link_range -> disambiguator_range in disambiguator_errorJoshua Nelson-2/+2