| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-18 | Rename `Session::span_diagnostic` as `Session::dcx`. | Nicholas Nethercote | -1/+1 | |
| 2023-12-15 | NFC don't convert types to identical types | Matthias Krüger | -4/+5 | |
| 2023-12-12 | Move some methods from `tcx.hir()` to `tcx` | zetanumbers | -1/+1 | |
| Renamings: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id Fix rebase changes using removed methods Use `tcx.hir_node_by_def_id()` whenever possible in compiler Fix clippy errors Fix compiler Apply suggestions from code review Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Add FIXME for `tcx.hir()` returned type about its removal Simplify with with `tcx.hir_node_by_def_id` | ||||
| 2023-11-26 | rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` ↵ | Vadim Petrochenkov | -3/+2 | |
| cleanup | ||||
| 2023-11-15 | Re-format code with new rustfmt | Mark Rousskov | -6/+8 | |
| 2023-08-16 | Improve code readability by moving fmt args directly into the string | Guillaume Gomez | -3/+3 | |
| 2023-07-29 | Move `inherits_doc_hidden` and `should_ignore_res` into `clean/utils.rs` | Guillaume Gomez | -32/+1 | |
| 2023-07-29 | Move Res check into `should_ignore_res` | Guillaume Gomez | -1/+6 | |
| 2023-07-24 | Fix missing attribute merge on glob foreign re-exports | Guillaume Gomez | -2/+2 | |
| 2023-07-18 | Remove unneeded `Option<Symbol>` in `foreign_items` | Guillaume Gomez | -3/+2 | |
| 2023-07-18 | Fix invalid display of inlined re-export | Guillaume Gomez | -14/+26 | |
| 2023-07-14 | Correctly handle `--document-hidden-items` | Guillaume Gomez | -3/+7 | |
| 2023-06-20 | Fix invalid creation of files in rustdoc | Guillaume Gomez | -2/+5 | |
| 2023-06-06 | rustdoc: convert `if let Some()` that always matches to variable | Michael Howell | -18/+28 | |
| 2023-06-05 | fix spelling error | Luca Scherzer | -3/+3 | |
| 2023-06-01 | Fix bug where private item with intermediate doc hidden re-export was not ↵ | Guillaume Gomez | -1/+2 | |
| inlined | ||||
| 2023-05-30 | Fix re-export of doc hidden item inside private item not displayed | Guillaume Gomez | -25/+32 | |
| 2023-05-27 | Rollup merge of #112018 - GuillaumeGomez:cleanup-tcx, r=notriddle | Matthias Krüger | -7/+6 | |
| Clean up usage of `cx.tcx` when `tcx` is already set into a variable I discovered a few cases where `cx.tcx` (and equivalents) was used whereas `tcx` was already stored into a variable. In those cases, better to just use `tcx` directly. r? `@notriddle` | ||||
| 2023-05-27 | Clean up usage of `cx.tcx` when `tcx` is already set into a variable | Guillaume Gomez | -7/+6 | |
| 2023-05-27 | Correctly handle multiple re-exports of bang macros at the same level | Guillaume Gomez | -3/+9 | |
| 2023-05-26 | Fix re-export of doc hidden macro not showing up | Guillaume Gomez | -0/+10 | |
| 2023-05-16 | Only keep impl blocks from bodies | Guillaume Gomez | -1/+29 | |
| 2023-05-12 | Require `impl Trait` in associated types to appear in method signatures | Oli Scherer | -1/+2 | |
| 2023-05-10 | Rollup merge of #111095 - GuillaumeGomez:fix-assoc-item-trait-inside-hidden, ↵ | Matthias Krüger | -15/+36 | |
| r=notriddle Correctly handle associated items of a trait inside a `#[doc(hidden)]` item Fixes https://github.com/rust-lang/rust/issues/111064. cc `@compiler-errors` r? `@notriddle` | ||||
| 2023-05-05 | Modules can be reexported and it should be handled by rustdoc | Guillaume Gomez | -7/+33 | |
| 2023-05-05 | Correctly handle associated items of a trait inside a `#[doc(hidden)]` item | Guillaume Gomez | -8/+3 | |
| 2023-05-02 | resolve: One more attempt to simplify `module_children` | Vadim Petrochenkov | -4/+5 | |
| 2023-04-18 | Rollup merge of #110450 - GuillaumeGomez:fix-nested-items-on-private-doc, ↵ | Matthias Krüger | -10/+38 | |
| r=notriddle,jyn514 rustdoc: Fix invalid handling of nested items with `--document-private-items` Fixes #110422. The problem is that only impl block and re-exported `macro_rules!` items are "visible" as nested items. This PR adds the missing checks to handle this correctly. cc `@compiler-errors` r? `@notriddle` | ||||
| 2023-04-17 | Fix invalid handling of nested items with `--document-private-items` | Guillaume Gomez | -5/+35 | |
| 2023-04-17 | Remove unused RustdocVisitor::visit_item_inner return type | Guillaume Gomez | -5/+3 | |
| 2023-04-12 | resolve: Pre-compute non-reexport module children | Vadim Petrochenkov | -1/+1 | |
| Instead of repeating the same logic by walking HIR during metadata encoding. The only difference is that we are no longer encoding `macro_rules` items, but we never currently need them as a part of this list. They can be encoded separately if this need ever arises. `module_reexports` is also un-querified, because I don't see any reasons to make it a query, only overhead. | ||||
| 2023-04-08 | rustc_middle: Remove `Option` from `module_reexports` query | Vadim Petrochenkov | -1/+1 | |
| 2023-04-08 | rustdoc: Migrate some logic to `module_reexports` | Vadim Petrochenkov | -7/+5 | |
| 2023-04-04 | Don't collect return-position impl traits for documentation | Michael Goulet | -1/+9 | |
| 2023-03-17 | Only add into `view_item_stack` if the item will be inlined | Guillaume Gomez | -4/+4 | |
| 2023-03-10 | Rollup merge of #108936 - GuillaumeGomez:rustdoc-anonymous-reexport, r=notriddle | Matthias Krüger | -2/+7 | |
| Rustdoc: don't hide anonymous reexport Fixes https://github.com/rust-lang/rust/issues/108931. From https://github.com/rust-lang/rust/issues/108931, it appears that having anonymous re-exports for traits is actually used in some places, so instead of hiding them automatically, we should prevent them to be ever inlined. r? `@notriddle` | ||||
| 2023-03-09 | Don't hide anonymous re-exports but never inline them | Guillaume Gomez | -2/+7 | |
| 2023-03-07 | Fix invalid inlining of reexport of reexport of private item | Guillaume Gomez | -1/+19 | |
| 2023-03-02 | rustc_middle: Remove trait `DefIdTree` | Vadim Petrochenkov | -1/+1 | |
| This trait was a way to generalize over both `TyCtxt` and `Resolver`, but now `Resolver` has access to `TyCtxt`, so this trait is no longer necessary. | ||||
| 2023-02-22 | Prevent duplicated imports | Guillaume Gomez | -6/+14 | |
| 2023-02-10 | Correctly handle reexports for macros | Guillaume Gomez | -1/+1 | |
| 2023-01-27 | Special-case handling of impl blocks | Guillaume Gomez | -4/+14 | |
| 2023-01-27 | Fix handling of items inside a `doc(hidden)` block | Guillaume Gomez | -10/+6 | |
| 2023-01-27 | Improve code | Guillaume Gomez | -93/+90 | |
| 2023-01-27 | Speed up execution a bit by removing some walks | Guillaume Gomez | -1/+21 | |
| 2023-01-27 | Improve code readability | Guillaume Gomez | -14/+22 | |
| 2023-01-27 | Fix missing const expression items visit | Guillaume Gomez | -129/+170 | |
| 2023-01-26 | rustdoc: Stop using `HirId`s | Vadim Petrochenkov | -37/+45 | |
| Use `LocalDefId`s instead | ||||
| 2023-01-22 | rustdoc: Use `DefId(Map,Set)` instead of `FxHash(Map,Set)` | Vadim Petrochenkov | -8/+7 | |
| Not all uses are converted, a few cases iterating through maps/sets and requiring nontrivial changes are kept. | ||||
| 2023-01-19 | Revert "Fix missing const expression items visit" | Guillaume Gomez | -158/+115 | |
| This reverts commit cdfc5051b1286938f56160243c28538f79dce6b1. | ||||
