summary refs log tree commit diff
path: root/src/librustdoc/clean/utils.rs
AgeCommit message (Expand)AuthorLines
2024-12-16split attributesJonathan Dönszelmann-2/+1
2024-12-15Add hir::AttributeJonathan Dönszelmann-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-1/+4
2024-11-13Rollup merge of #132302 - fmease:rustdoc-better-vis-for-macro-decl, r=notriddleMatthias Krüger-12/+3
2024-11-13rustdoc: Treat decl macros like other itemsLeón Orell Valerian Liehr-12/+3
2024-11-11[perf] rustdoc: Perform less work when cleaning parenthesized generic argsLeón Orell Valerian Liehr-23/+17
2024-11-06Clean middle generics using paren sugar if trait has rustc_paren_sugarMichael Goulet-1/+1
2024-10-24Remove associated type based effects logicMichael Goulet-4/+0
2024-09-25de-rc external traitsLukas Markeffsky-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-07rustdoc: use a single box to store Attributes and ItemKindMichael Howell-3/+3
2024-08-31Rollup merge of #129774 - nnethercote:rm-extern-crate-tracing-remainder, r=Gu...Matthias Krüger-0/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from rustdoc.Nicholas Nethercote-0/+1
2024-08-29Fix clippy lintsGuillaume Gomez-6/+6
2024-08-04rustdoc: Create `SelfTy` to replace `Generic(kw::SelfUpper)`Noah Lev-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-16/+15
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-2/+1
2024-06-05Remove `Type` from rustdoc `Const`Boxy-2/+2
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-11/+14
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-11/+14
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-1/+1
2024-04-11Rollup merge of #123459 - GuillaumeGomez:fix-123435, r=notriddleMatthias Krüger-1/+8
2024-04-08rustdoc: slightly clean up the synthesis of blanket implsLeón Orell Valerian Liehr-5/+4
2024-04-04In case a foreign item has `doc(hidden)` attribute, we simply merged its attr...Guillaume Gomez-1/+8
2024-04-02rustdoc: heavily simplify synthesis of auto trait implsLeón Orell Valerian Liehr-12/+4
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-0/+1
2024-03-17some minor code simplificationsMatthias Krüger-1/+1
2024-03-15Rollup merge of #122495 - Manishearth:rustdoc-👻👻👻, r=GuillaumeGomezMatthias Krüger-2/+3
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-3/+4
2024-03-14Refactor visibility_print_with_space to directly take an itemManish Goregaokar-2/+3
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-02-07Use correct param env when building and cleaning items in librustdocMichael Goulet-2/+6
2024-01-17Add `PatKind::Err`Lieselotte-1/+3
2024-01-09Move variables closer to their usage sitesLeón Orell Valerian Liehr-6/+4
2024-01-09Simplify elision of default generic argumentsLeón Orell Valerian Liehr-48/+42
2024-01-09Don't arena-allocate extended generic argsLeón Orell Valerian Liehr-22/+25
2024-01-09Offset args of trait object types when cleaningLeón Orell Valerian Liehr-6/+25
2024-01-09Rename rustc_middle path cleaning functionsLeón Orell Valerian Liehr-25/+19
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-3/+2
2023-11-29Add `never_patterns` feature gateNadrieril-1/+2
2023-11-25is_{some,ok}_and for rustdocMichael Goulet-3/+2
2023-11-15Re-format code with new rustfmtMark Rousskov-8/+7
2023-11-08Rollup merge of #117531 - fmease:rustdoc-effects-properly-elide-x-crate-host-...Matthias Krüger-5/+1
2023-11-08rustdoc: minor changes suggested by clippy perf lints.Nicholas Nethercote-1/+1
2023-11-05rustdoc: properly elide cross-crate host effect argsLeón Orell Valerian Liehr-5/+1
2023-10-30rustdoc: elide cross-crate default generic argumentsLeón Orell Valerian Liehr-26/+106
2023-10-13Add some FIXMEs for remaining issues that we need to fix before using more c...Oli Scherer-0/+3
2023-10-12hide `host` param from generic parameter list of `~const` boundsOli Scherer-0/+1
2023-10-09Improve codeGuillaume Gomez-24/+12
2023-09-25Show enum variant value if it is a C-like variantGuillaume Gomez-11/+29