| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-17 | rustdoc: Fix glob import inlining | Vadim Petrochenkov | -3/+19 | |
| Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else | ||||
| 2023-01-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -1/+1 | |
| bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata | ||||
| 2023-01-14 | change usages of impl_trait_ref to bound_impl_trait_ref | Kyle Matsuda | -1/+1 | |
| 2023-01-10 | Remove unneeded ItemId::Primitive variant | Guillaume Gomez | -1/+3 | |
| 2022-12-15 | Rollup merge of #105743 - nnethercote:SimplifiedType-cleanups, r=lcnr | Matthias Krüger | -1/+1 | |
| `SimplifiedType` cleanups r? `@lcnr` | ||||
| 2022-12-15 | Merge `SimplifiedTypeGen<D>` into `SimplifiedType`. | Nicholas Nethercote | -1/+1 | |
| `SimplifiedTypeGen<DefId>` is the only instantiation used, so we don't need the generic parameter. | ||||
| 2022-12-12 | Round 2: make clean_middle_ty take a binder | Oli Scherer | -4/+4 | |
| 2022-12-12 | Round 1: add some binders (fails due to losing bound vars and then rebinding ↵ | Oli Scherer | -1/+2 | |
| them with `Binder::dummy`) | ||||
| 2022-11-21 | Unreserve braced enum variants in value namespace | Vadim Petrochenkov | -1/+1 | |
| 2022-11-08 | Auto merge of #104013 - notriddle:notriddle/rustdoc-sizeof, r=GuillaumeGomez | bors | -2/+2 | |
| rustdoc: use `ThinVec` and `Box<str>` to shrink `clean::ItemKind` | ||||
| 2022-11-05 | rustdoc: use `ThinVec` and `Box<str>` to shrink `clean::ItemKind` | Michael Howell | -2/+2 | |
| 2022-11-04 | rustdoc: create helper `GenericParamDef::lifetime` | León Orell Valerian Liehr | -4/+1 | |
| 2022-11-04 | rustdoc: render late-bound lifetimes in generic parameter list of ↵ | León Orell Valerian Liehr | -2/+14 | |
| cross-crate functions and methods | ||||
| 2022-11-03 | Remove rustdoc clean::Visibility type | Guillaume Gomez | -3/+2 | |
| 2022-11-02 | Auto merge of #103690 - GuillaumeGomez:visibility-on-demand, r=notriddle | bors | -22/+7 | |
| Make rustdoc Item::visibility computed on-demand This is a take-over of https://github.com/rust-lang/rust/pull/91408. Helps with https://github.com/rust-lang/rust/issues/90852 (needs to use `ty::Visibility` directly too). cc `@camelid` r? `@notriddle` | ||||
| 2022-10-30 | Rollup merge of #103746 - notriddle:notriddle/incoherent-dyn-trait, ↵ | Michael Howell | -0/+15 | |
| r=GuillaumeGomez rustdoc: add support for incoherent impls on structs and traits Fixes #103170 | ||||
| 2022-10-30 | Make rustdoc Item::visibility computed on-demand | Guillaume Gomez | -22/+7 | |
| 2022-10-29 | rustdoc: add support for incoherent impls on structs and traits | Michael Howell | -0/+15 | |
| Fixes #103170 | ||||
| 2022-10-29 | rustdoc: Split effective visibilities from rustc from similar data built by ↵ | Vadim Petrochenkov | -2/+2 | |
| rustdoc for external def-ids | ||||
| 2022-10-29 | Auto merge of #102233 - petrochenkov:effvis, r=jackh726 | bors | -2/+2 | |
| privacy: Rename "accessibility levels" to "effective visibilities" And a couple of other naming and comment tweaks. Related to https://github.com/rust-lang/rust/issues/48054 For `enum Level` I initially used naming `enum EffectiveVisibilityLevel`, but it was too long and inconvenient because it's used pretty often. So I shortened it to just `Level`, if it needs to be used from some context where this name would be ambiguous, then it can be imported with renaming like `use rustc_middle::privacy::Level as EffVisLevel` or something. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -2/+2 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-25 | Don't merge inline doc comments for impl blocks | Guillaume Gomez | -8/+35 | |
| 2022-10-09 | ImplItemKind::TyAlias => ImplItemKind::Type | Michael Goulet | -1/+1 | |
| 2022-09-27 | rustdoc: remove `clean::TraitWithExtraInfo` | Michael Howell | -4/+0 | |
| Instead, it gathers the extra info later, when it's actually requested. | ||||
| 2022-09-01 | Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorino | bors | -2/+3 | |
| Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec` `rustc_data_structures::thin_vec::ThinVec` looks like this: ``` pub struct ThinVec<T>(Option<Box<Vec<T>>>); ``` It's just a zero word if the vector is empty, but requires two allocations if it is non-empty. So it's only usable in cases where the vector is empty most of the time. This commit removes it in favour of `thin_vec::ThinVec`, which is also word-sized, but stores the length and capacity in the same allocation as the elements. It's good in a wider variety of situation, e.g. in enum variants where the vector is usually/always non-empty. The commit also: - Sorts some `Cargo.toml` dependency lists, to make additions easier. - Sorts some `use` item lists, to make additions easier. - Changes `clean_trait_ref_with_bindings` to take a `ThinVec<TypeBinding>` rather than a `&[TypeBinding]`, because this avoid some unnecessary allocations. r? `@spastorino` | ||||
| 2022-08-29 | Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`. | Nicholas Nethercote | -2/+3 | |
| `rustc_data_structures::thin_vec::ThinVec` looks like this: ``` pub struct ThinVec<T>(Option<Box<Vec<T>>>); ``` It's just a zero word if the vector is empty, but requires two allocations if it is non-empty. So it's only usable in cases where the vector is empty most of the time. This commit removes it in favour of `thin_vec::ThinVec`, which is also word-sized, but stores the length and capacity in the same allocation as the elements. It's good in a wider variety of situation, e.g. in enum variants where the vector is usually/always non-empty. The commit also: - Sorts some `Cargo.toml` dependency lists, to make additions easier. - Sorts some `use` item lists, to make additions easier. - Changes `clean_trait_ref_with_bindings` to take a `ThinVec<TypeBinding>` rather than a `&[TypeBinding]`, because this avoid some unnecessary allocations. | ||||
| 2022-08-28 | Remove Attrs type alias | Guillaume Gomez | -8/+6 | |
| 2022-08-25 | Fix missing cfg propagation for reexports | Guillaume Gomez | -1/+1 | |
| 2022-08-16 | rustdoc: box ItemKind::Trait | Michael Howell | -1/+1 | |
| This reduces the memory consumption of ItemKind. | ||||
| 2022-08-16 | rustdoc: factor Type::QPath out into its own box | Michael Howell | -1/+1 | |
| This reduces the size of Type. | ||||
| 2022-08-10 | remove Clean trait implementation for ty::AssocItem | Guillaume Gomez | -5/+6 | |
| 2022-08-10 | Rollup merge of #100319 - GuillaumeGomez:rm-clean-impls-2, r=Dylan-DPC | Matthias Krüger | -4/+4 | |
| Remove more Clean trait implementations Follow-up of https://github.com/rust-lang/rust/pull/99638. r? ``@Dylan-DPC`` | ||||
| 2022-08-08 | remove Clean trait implementation for hir::Generics | Guillaume Gomez | -3/+3 | |
| 2022-08-08 | remove Clean trait implementation for hir::ImplItem | Guillaume Gomez | -2/+2 | |
| 2022-08-06 | rustdoc: do not mark the contents of a skipped module as inlined | Michael Howell | -5/+32 | |
| 2022-08-02 | Rollup merge of #100057 - GuillaumeGomez:rm-more-clean-impl, r=Dylan-DPC | Matthias Krüger | -4/+4 | |
| Remove more Clean trait implementations Follow-up of https://github.com/rust-lang/rust/pull/99638. r? ``@notriddle`` | ||||
| 2022-08-02 | Rollup merge of #100005 - GuillaumeGomez:cleanup-ast-attr-clean, r=notriddle | Matthias Krüger | -3/+3 | |
| Remove Clean trait for ast::Attribute and improve Attributes::from_ast I prefer to keep this commit on its own for this PR because I'm changing a bit more things than expected originally: I split `Attributes::from_ast` into two because there is only one location making use of its second parameter. Follow-up of https://github.com/rust-lang/rust/pull/99638. r? `@notriddle` | ||||
| 2022-08-02 | Remove Clean trait implementation for ast::Attribute and cleanup ↵ | Guillaume Gomez | -3/+3 | |
| Attributes::from_ast function by splitting it in two | ||||
| 2022-08-02 | Remove Clean trait implementation for ty::TraitRef | Guillaume Gomez | -4/+4 | |
| 2022-08-01 | Remove visibility from AssocItem. | Camille GILLOT | -1/+1 | |
| 2022-07-30 | Remove Clean trait implementation for ty::VariantDef | Guillaume Gomez | -3/+3 | |
| 2022-07-29 | Box FunctionItem, TyMethodItem, MethodItem, ForeignFunctionItem | est31 | -2/+2 | |
| This reduces ItemKind size from 160 bytes to 112 bytes | ||||
| 2022-07-29 | Box TypedefItem, ImplItem, AssocTypeItem variants of ItemKind | est31 | -5/+5 | |
| This reduces ItemKind size from 224 bytes to 160 bytes. | ||||
| 2022-07-29 | Remove box syntax from Box<rustdoc::clean::types::ItemKind> construction | est31 | -2/+2 | |
| The type has 240 bytes according to compiler internal rustdoc. | ||||
| 2022-07-28 | Remove Clean trait implementation for ty::Visibility | Guillaume Gomez | -3/+4 | |
| 2022-07-24 | Remove Clean trait implementation for FieldDef | Guillaume Gomez | -4/+4 | |
| 2022-07-23 | Remove Clean trait implementation for hir::Ty and middle::Ty | Guillaume Gomez | -7/+7 | |
| 2022-07-22 | Make some clean::Trait fields computation on demand | Guillaume Gomez | -8/+1 | |
| 2022-07-17 | rustdoc: extend `#[doc(tuple_variadic)]` to fn pointers | Michael Howell | -2/+2 | |
| The attribute is also renamed `fake_variadic`. | ||||
| 2022-07-11 | Remove box syntax for Box<Attributes> construction | est31 | -4/+10 | |
| Attributes only has 48 bytes according to compiler internal rustdoc. | ||||
