| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-05-30 | rustdoc: simplify `clean` by removing `FnRetTy` | Michael Howell | -4/+1 | |
| The default fn ret ty is always unit. Just use that. Looking back at the time when `FnRetTy` (then called `FunctionRetTy`) was first added to rustdoc, it seems to originally be there because `-> !` was a special form: the never type didn't exist back then. https://github.com/rust-lang/rust/commit/eb01b17b06eb35542bb80ff7456043b0ed5572ba#diff-384affc1b4190940f114f3fcebbf969e7e18657a71ef9001da6b223a036687d9L921-L924 | ||||
| 2023-05-22 | rustdoc: Cleanup doc string collapsing | Vadim Petrochenkov | -1/+1 | |
| 2023-05-04 | IAT: Rustdoc integration | León Orell Valerian Liehr | -1/+1 | |
| 2023-05-02 | Make tools happy | Michael Goulet | -0/+4 | |
| 2023-04-29 | Unify attributes retrieval for JSON and HTML rendering | Guillaume Gomez | -6/+1 | |
| 2023-04-26 | rustdoc-json: Time serialization. | Alona Enraght-Moony | -1/+4 | |
| 2023-04-16 | Spelling librustdoc | Josh Soref | -2/+2 | |
| * associated * collected * correspondence * inlining * into * javascript * multiline * variadic Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> | ||||
| 2023-04-12 | remove some unneeded imports | KaDiWa | -1/+0 | |
| 2023-03-30 | Replace doc(primitive) with rustc_doc_primitive | Guillaume Gomez | -4/+2 | |
| 2023-03-28 | rustdoc + rustdoc-json support for non_lifetime_binders | Michael Goulet | -4/+30 | |
| 2023-02-22 | rustdoc: reduce allocations when generating tooltips | Michael Howell | -1/+1 | |
| An attempt to reduce the perf regression in https://github.com/rust-lang/rust/pull/108052#issuecomment-1430631861 | ||||
| 2023-02-18 | Improve code readability | Guillaume Gomez | -10/+21 | |
| 2023-02-18 | Fix bad handling of primitive types | Guillaume Gomez | -30/+48 | |
| 2023-02-18 | Allow reexports of items with same name but different types to both appear | Guillaume Gomez | -57/+60 | |
| 2023-02-15 | Use more let chain | Guillaume Gomez | -6/+5 | |
| 2023-02-08 | Fix small debug typo | Guillaume Gomez | -1/+1 | |
| 2023-01-22 | rustdoc: Use `DefId(Map,Set)` instead of `FxHash(Map,Set)` | Vadim Petrochenkov | -8/+8 | |
| Not all uses are converted, a few cases iterating through maps/sets and requiring nontrivial changes are kept. | ||||
| 2023-01-10 | Remove unneeded ItemId::Primitive variant | Guillaume Gomez | -1/+0 | |
| 2023-01-04 | Rollup merge of #106412 - ↵ | Matthias Krüger | -8/+23 | |
| GuillaumeGomez:fix-links-to-primitive-rustdoc-json, r=aDotInTheVoid Fix link generation for local primitive types in rustdoc JSON output Fixes https://github.com/rust-lang/rust/issues/104064. As mentioned in the issue, I'm not super happy about this fix which is more a hack rather than a sound-proof solution. However I couldn't find a better way to fix it. r? `@aDotInTheVoid` | ||||
| 2023-01-04 | Remove unused match pattern for primitive types | Guillaume Gomez | -1/+1 | |
| 2023-01-03 | Fix link generation for local primitive types in rustdoc JSON output | Guillaume Gomez | -7/+22 | |
| 2023-01-01 | Rustdoc-Json: Report discriminant on all kinds of enum variant. | Nixon Enraght-Moony | -5/+7 | |
| Closes #106299 | ||||
| 2023-01-01 | clean: Always store enum disriminant. | Nixon Enraght-Moony | -3/+6 | |
| 2022-12-02 | Rustdoc-Json: Don't include foreign traits | Nixon Enraght-Moony | -52/+1 | |
| 2022-12-01 | rustc_ast_lowering: Stop lowering imports into multiple items | Vadim Petrochenkov | -1/+1 | |
| Lower them into a single item with multiple resolutions instead. This also allows to remove additional `NodId`s and `DefId`s related to those additional items. | ||||
| 2022-11-21 | Unreserve braced enum variants in value namespace | Vadim Petrochenkov | -5/+5 | |
| 2022-11-16 | rustdoc JSON: Use `Function` everywhere and remove `Method` | Martin Nordholts | -22/+7 | |
| 2022-11-13 | fix some typos in comments | cui fliter | -2/+2 | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | ||||
| 2022-11-05 | rustdoc: use `ThinVec` and `Box<str>` to shrink `clean::ItemKind` | Michael Howell | -1/+1 | |
| 2022-11-04 | Rollup merge of #103935 - GuillaumeGomez:remove-rustdoc-visibility-ty, ↵ | Matthias Krüger | -6/+5 | |
| r=notriddle Remove rustdoc clean::Visibility type Fixes #90852. Follow-up of https://github.com/rust-lang/rust/pull/103690. This PR completely removes the rustdoc `clean::Visibility` type to use the `rustc_middle` one instead. I don't think there will be any impact on perf. r? `@notriddle` | ||||
| 2022-11-03 | Remove rustdoc clean::Visibility type | Guillaume Gomez | -6/+5 | |
| 2022-11-02 | rustdoc: remove unneeded Box from ItemKind | Michael Howell | -1/+1 | |
| 2022-10-30 | Make rustdoc Item::visibility computed on-demand | Guillaume Gomez | -1/+2 | |
| 2022-10-05 | rustdoc: render more cross-crate hrtbs properly | León Orell Valerian Liehr | -2/+3 | |
| 2022-09-27 | rustdoc: remove `clean::TraitWithExtraInfo` | Michael Howell | -1/+0 | |
| Instead, it gathers the extra info later, when it's actually requested. | ||||
| 2022-09-26 | Rustdoc-Json: List impls for primitives | Nixon Enraght-Moony | -3/+11 | |
| Closes #101695 | ||||
| 2022-09-13 | Rustdoc-Json: Don't loose subitems of foreign traits. | Nixon Enraght-Moony | -2/+13 | |
| 2022-09-10 | Rustdoc-Json: Correcty handle intra-doc-links to items without HTML page | Nixon Enraght-Moony | -2/+9 | |
| Closes #101531 | ||||
| 2022-09-07 | Rustdoc-Json: More accurate struct type. | Nixon Enraght-Moony | -25/+11 | |
| Closes #101489 | ||||
| 2022-09-05 | Rustdoc-Json: Store Variant Fields as their own item. | Nixon Enraght-Moony | -11/+21 | |
| Closes #100587 Closes #92945 | ||||
| 2022-09-05 | Auto merge of #101386 - aDotInTheVoid:rdj-discriminant, r=GuillaumeGomez | bors | -1/+13 | |
| Rustdoc-Json: Add enum discriminant Does the first part of #101337, by adding it to `clean`, but doesn't change HTML output, as 1. [No Consensus has appeared on the UI for this](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/Enum.20discriminant.20values.20in.20HTML.20output) 2. [When inlining across crates, information is lost](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.60clean_variant_def.20.60vs.20.60clean_variant_data.60) JSON doesn't have either of these limitations. r? `@GuillaumeGomez` | ||||
| 2022-09-04 | rustdoc: Compute enum discriminant on demand | Nixon Enraght-Moony | -8/+10 | |
| 2022-09-03 | Rustdoc-Json: Add enum discriminant | Nixon Enraght-Moony | -1/+11 | |
| 2022-09-03 | remove redundant clones | Matthias Krüger | -1/+1 | |
| 2022-08-29 | Rollup merge of #101106 - aDotInTheVoid:rdj-stripped-mod, r=GuillaumeGomez | Matthias Krüger | -3/+51 | |
| Rustdoc-Json: Retain Stripped Modules when they are imported, not when they have items Fixes #101103 Fixes #100973 r? `@GuillaumeGomez` | ||||
| 2022-08-29 | Rustdoc-Json: Retain Stripped Modules when they are imported, not when they ↵ | Nixon Enraght-Moony | -3/+51 | |
| have items. Fixes #101103 Fixes #100973 | ||||
| 2022-08-28 | Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillot | bors | -5/+6 | |
| Avoid cloning a collection only to iterate over it `@rustbot` label: +C-cleanup | ||||
| 2022-08-21 | Auto merge of #100645 - notriddle:notriddle/rustdoc-diet-plan, r=GuillaumeGomez | bors | -3/+3 | |
| rustdoc: strategic boxing to reduce the size of ItemKind and Type The `Type` change redesigns `QPath` to box the entire data structure instead of boxing `self_type` and the `trait_`. This reduces the size of several `ItemKind` variants, leaving `Impl` as the biggest variant. The `ItemKind` change boxes that variant's payload. | ||||
| 2022-08-16 | rustdoc: box ItemKind::Trait | Michael Howell | -1/+1 | |
| This reduces the memory consumption of ItemKind. | ||||
| 2022-08-17 | Rollup merge of #100630 - Enselic:export_extern_crate_as_self, r=GuillaumeGomez | Takayuki Maeda | -2/+2 | |
| rustdoc JSON: Fix ICE with `pub extern crate self as <self_crate_name>` Closes #100531 r? `@GuillaumeGomez` `@rustbot` labels +A-rustdoc-json +T-rustdoc | ||||
