| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-10 | rustdoc: Refractor `clean_ty_generics` | Alona Enraght-Moony | -2/+2 | |
| 2025-04-08 | clean code: remove Deref<Target=RegionKind> impl for Region and use `.kind()` | xizheyin | -2/+2 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-03-26 | rustdoc: Rearrange `Item`/`ItemInner`. | Nicholas Nethercote | -4/+4 | |
| The `Item` struct is 48 bytes and contains a `Box<ItemInner>`; `ItemInner` is 104 bytes. This is an odd arrangement. Normally you'd have one of the following. - A single large struct, which avoids the allocation for the `Box`, but can result in lots of wasted space in unused parts of a container like `Vec<Item>`, `HashSet<Item>`, etc. - Or, something like `struct Item(Box<ItemInner>)`, which requires the `Box` allocation but gives a very small Item size, which is good for containers like `Vec<Item>`. `Item`/`ItemInner` currently gets the worst of both worlds: it always requires a `Box`, but `Item` is also pretty big and so wastes space in containers. It would make sense to push it in one direction or the other. #138916 showed that the first option is a regression for rustdoc, so this commit does the second option, which improves speed and reduces memory usage. | ||||
| 2025-03-15 | Squash fold into ty | Michael Goulet | -2/+1 | |
| 2024-11-28 | uplift fold_regions to rustc_type_ir | lcnr | -1/+2 | |
| 2024-11-19 | rustdoc: yeet `TypingEnv::from_param_env` | lcnr | -6/+6 | |
| 2024-11-19 | move `fn is_item_raw` to `TypingEnv` | lcnr | -1/+1 | |
| 2024-10-24 | Remove associated type based effects logic | Michael Goulet | -1/+1 | |
| 2024-09-30 | rustdoc: rewrite stability inheritance as a pass | Lukas Markeffsky | -0/+1 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -3/+3 | |
| 2024-09-07 | rustdoc: use a single box to store Attributes and ItemKind | Michael Howell | -10/+12 | |
| 2024-08-31 | Rollup merge of #129774 - nnethercote:rm-extern-crate-tracing-remainder, ↵ | Matthias Krüger | -0/+1 | |
| r=GuillaumeGomez Remove `#[macro_use] extern crate tracing` from rustdoc and rustfmt A follow-up to #129767 and earlier PRs doing this for `rustc_*` crates. r? ```@GuillaumeGomez``` | ||||
| 2024-08-30 | Remove `#[macro_use] extern crate tracing` from rustdoc. | Nicholas Nethercote | -0/+1 | |
| 2024-08-29 | Fix clippy lints | Guillaume Gomez | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -4/+2 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-05-30 | Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanup | León Orell Valerian Liehr | -2/+2 | |
| 2024-05-17 | Rename Unsafe to Safety | Santiago Pastorino | -1/+1 | |
| 2024-05-09 | Rename Generics::params to Generics::own_params | Michael Goulet | -2/+2 | |
| 2024-04-08 | rustdoc: synthetic auto: filter out clauses from the implementor's ParamEnv | León Orell Valerian Liehr | -1/+1 | |
| not just the ones from the elaborated clauses. | ||||
| 2024-04-02 | rustdoc: synthetic auto trait impls: accept unresolved region vars for now | León Orell Valerian Liehr | -1/+7 | |
| 2024-04-02 | rustdoc: heavily simplify synthesis of auto trait impls | León Orell Valerian Liehr | -627/+320 | |
| 2024-04-01 | rustdoc: synthetic impls: auto traits: Fx{Hash↦Index}{Map,Set} | León Orell Valerian Liehr | -118/+39 | |
| 2024-02-20 | Expand weak alias types before collecting constrained and referenced late ↵ | León Orell Valerian Liehr | -9/+8 | |
| bound regions | ||||
| 2024-02-15 | rustdoc: cross-crate re-exports: correctly render late-bound params in ↵ | León Orell Valerian Liehr | -1/+1 | |
| source order even if early-bound params are present | ||||
| 2023-12-17 | use Vec for region constraints | Ali MJ Al-Nasrawy | -1/+1 | |
| 2023-12-10 | remove redundant imports | surechen | -3/+1 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-11-14 | finish `RegionKind` rename | lcnr | -2/+2 | |
| - `ReFree` -> `ReLateParam` - `ReEarlyBound` -> `ReEarlyParam` | ||||
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -1/+1 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-10-03 | rustdoc: fix & clean up handling of cross-crate higher-ranked lifetimes | León Orell Valerian Liehr | -4/+3 | |
| 2023-08-16 | Use more named format args | Guillaume Gomez | -3/+3 | |
| 2023-08-16 | Improve code readability by moving fmt args directly into the string | Guillaume Gomez | -7/+7 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -1/+1 | |
| 2023-06-26 | Migrate predicates_of and caller_bounds to Clause | Michael Goulet | -6/+4 | |
| 2023-06-19 | s/Clause/ClauseKind | Michael Goulet | -3/+3 | |
| 2023-06-07 | rustdoc: re-elide cross-crate default trait object lifetime bounds | León Orell Valerian Liehr | -1/+1 | |
| 2023-05-04 | IAT: Rustdoc integration | León Orell Valerian Liehr | -1/+4 | |
| 2023-05-04 | Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnr | bors | -1/+1 | |
| Replace `tcx.mk_trait_ref` with `TraitRef::new` First step in implementing https://github.com/rust-lang/compiler-team/issues/616 r? `@lcnr` | ||||
| 2023-04-26 | Make some region folders a little stricter. | Nicholas Nethercote | -1/+3 | |
| Because certain regions cannot occur in them. | ||||
| 2023-04-25 | Use `ty::TraitRef::new` in rustdoc | Maybe Waffle | -1/+1 | |
| 2023-04-16 | Auto merge of #110405 - fee1-dead-contrib:rollup-9rkree6, r=fee1-dead | bors | -1/+1 | |
| Rollup of 4 pull requests Successful merges: - #110397 (Move some utils out of `rustc_const_eval`) - #110398 (use matches! macro in more places) - #110400 (more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_defau…) - #110402 (Remove the loop in `Align::from_bytes`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-04-16 | more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_default, ↵ | Matthias Krüger | -1/+1 | |
| option_map_or_none} | ||||
| 2023-04-16 | Remove `TypeSuper{Foldable,Visitable}` impls for `Region`. | Nicholas Nethercote | -6/+5 | |
| These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But `Region` is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial. This commit inlines and removes those trivial methods. | ||||
| 2023-02-16 | remove bound_type_of query; make type_of return EarlyBinder; change type_of ↵ | Kyle Matsuda | -1/+1 | |
| in metadata | ||||
| 2023-02-16 | change usages of type_of to bound_type_of | Kyle Matsuda | -1/+1 | |
| 2023-02-13 | Rename folder traits' `tcx` method to `interner` | Alan Egerton | -1/+1 | |
| 2023-02-13 | Make folding traits generic over the Interner | Alan Egerton | -1/+1 | |
| 2023-01-15 | rustdoc: simplify some & ref erences | Matthias Krüger | -9/+7 | |
| 2022-12-12 | Round 2: make clean_middle_ty take a binder | Oli Scherer | -1/+1 | |
| 2022-12-12 | Round 1: add some binders (fails due to losing bound vars and then rebinding ↵ | Oli Scherer | -1/+1 | |
| them with `Binder::dummy`) | ||||
| 2022-11-25 | Introduce PredicateKind::Clause | Santiago Pastorino | -3/+5 | |
