| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-21 | Add AttributeExt::doc_resolution_scope | David Tolnay | -1/+6 | |
| 2025-05-31 | source_span_for_markdown_range: fix utf8 violation | binarycat | -2/+22 | |
| it is non-trivial to reproduce this bug through rustdoc, which uses this function less than clippy, so the regression test was added as a unit test instead of an integration test. | ||||
| 2025-05-23 | Rollup merge of #141376 - nnethercote:rename-kw-Empty, r=petrochenkov | Matthias Krüger | -3/+3 | |
| Rename `kw::Empty` as `sym::empty`. Because the empty string is not a keyword. r? `@petrochenkov` | ||||
| 2025-05-22 | rustdoc: improve diagnostics on raw doc fragments | binarycat | -4/+47 | |
| 1. rustdoc::bare_urls doesn't output invalid suggestions if source_span_for_markdown_range fails to find a span 2. source_span_for_markdown_range tries harder to return a span by applying an additional diagnostic fixes https://github.com/rust-lang/rust/issues/135851 | ||||
| 2025-05-22 | Rename `kw::Empty` as `sym::empty`. | Nicholas Nethercote | -3/+3 | |
| Because the empty string is not a keyword. | ||||
| 2025-03-27 | rustc_resolve: prevent iteration of refids for completeness | Augie Fackler | -2/+3 | |
| This came up in review, and it should help some future author not introduce non-deterministic output here. | ||||
| 2025-03-18 | rustc_resolve: fix instability in lib.rmeta contents | Augie Fackler | -1/+2 | |
| rust-lang/rust@23032f31c91f2 accidentally introduced some nondeterminism in the ordering of lib.rmeta files, which we caught in our bazel-based builds only recently due to being further behind than normal. In my testing, this fixes the issue. | ||||
| 2025-02-15 | rustdoc: improve refdef handling in the unresolved link lint | Michael Howell | -2/+16 | |
| This commit takes advantage of a feature in pulldown-cmark that makes the list of link definitions available to the consuming application. It produces unresolved link warnings for refdefs that aren't used, and can now produce exact spans for the dest even when it has escapes. | ||||
| 2025-01-19 | Run `clippy --fix` for `unnecessary_map_or` lint | Yotam Ofek | -4/+1 | |
| 2025-01-12 | Deny `clippy:;four_forward_slashes` and fix the only occurrence | Josh Triplett | -1/+1 | |
| 2024-12-18 | Re-export more `rustc_span::symbol` things from `rustc_span`. | Nicholas Nethercote | -2/+1 | |
| `rustc_span::symbol` defines some things that are re-exported from `rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some closely related things such as `Ident` and `kw`. So you can do `use rustc_span::{Symbol, sym}` but you have to do `use rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good reason. This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`, and changes many `rustc_span::symbol::` qualifiers in `compiler/` to `rustc_span::`. This is a 200+ net line of code reduction, mostly because many files with two `use rustc_span` items can be reduced to one. | ||||
| 2024-12-17 | Auto merge of #134376 - jdonszelmann:fix-rustdoc-perf, r=jieyouxu | bors | -2/+3 | |
| Try to fix perf regression in rustdoc after hir attributes Slight performance regression introduced in #131808 r? `@jieyouxu` | ||||
| 2024-12-16 | split attributes | Jonathan Dönszelmann | -1/+1 | |
| 2024-12-16 | try fix hir-attrs perf | Jonathan Dönszelmann | -2/+3 | |
| 2024-12-15 | Add hir::Attribute | Jonathan Dönszelmann | -20/+19 | |
| 2024-12-15 | Rename `value` field to `expr` to simplify later commits' diffs | Oli Scherer | -2/+2 | |
| 2024-12-02 | Add a helper method for extracting spans from AttrArgsEq | Oli Scherer | -2/+2 | |
| 2024-12-02 | Change `AttrArgs::Eq` into a struct variant | Oli Scherer | -1/+1 | |
| 2024-10-06 | Handle `librustdoc` cases of `rustc::potential_query_instability` lint | ismailarilik | -3/+3 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -2/+2 | |
| 2024-09-11 | Also fix if in else | Michael Goulet | -5/+3 | |
| 2024-09-02 | chore: Fix typos in 'compiler' (batch 2) | Alexander Cyon | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -2/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-19 | Avoid ref when using format! in compiler | Yuri Astrakhan | -1/+1 | |
| Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing). Inlining format args prevents accidental `&` misuse. | ||||
| 2024-06-30 | rustdoc: update to pulldown-cmark 0.11 | Michael Howell | -5/+9 | |
| 2024-05-10 | Remove `#[macro_use] extern crate tracing` from `rustc_resolve`. | Nicholas Nethercote | -0/+1 | |
| Explicit imports are more standard nowadays and easier to read. | ||||
| 2024-04-28 | Fix the assertion crash from rustdoc document indent widths | yukang | -11/+14 | |
| 2024-03-29 | rustdoc: point at span in `include_str!`-ed md file | Michael Howell | -7/+38 | |
| 2024-03-15 | less symbols interner locks | klensy | -3/+4 | |
| 2023-12-15 | NFC don't convert types to identical types | Matthias Krüger | -2/+1 | |
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -1/+1 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -1/+3 | |
| 2023-09-08 | Reuse rustdoc's doc comment handling in Clippy | Alex Macleod | -1/+88 | |
| 2023-08-18 | narrow down the lint trigger constraint | Kyle Lin | -6/+13 | |
| 2023-08-18 | fomar files | Kyle Lin | -1/+8 | |
| 2023-08-18 | Still resolving rustdoc resolution panicking | Kyle Lin | -2/+4 | |
| 2023-08-18 | Fix resolution caching | Kyle Lin | -8/+49 | |
| 2023-04-18 | rustdoc: fix ICE from rustc_resolve and librustdoc parse divergence | Michael Howell | -0/+1 | |
| 2023-03-31 | Update doc(primitive) in rustc_resolve | Guillaume Gomez | -3/+5 | |
| 2023-03-23 | rustdoc: Skip doc link resolution for non-exported items | Vadim Petrochenkov | -1/+15 | |
| 2023-03-21 | rustdoc: Cleanup parent module tracking for doc links | Vadim Petrochenkov | -8/+10 | |
| Keep ids of the documented items themselves, not their parent modules. Parent modules can be retreived from those ids when necessary. | ||||
| 2023-02-22 | rustdoc: reduce allocations when generating tooltips | Michael Howell | -6/+10 | |
| An attempt to reduce the perf regression in https://github.com/rust-lang/rust/pull/108052#issuecomment-1430631861 | ||||
| 2023-02-19 | Rollup merge of #108129 - ↵ | Guillaume Gomez | -0/+1 | |
| GuillaumeGomez:correctly-handle-links-starting-with-whitespace, r=petrochenkov Correctly handle links starting with whitespace Part of https://github.com/rust-lang/rust/issues/107995. I just got this issue, wrote a fix and then saw the issue. So here's the PR. ^^' r? `@petrochenkov` | ||||
| 2023-02-18 | Correctly handle if a link starts with a whitespace | Guillaume Gomez | -0/+1 | |
| 2023-02-18 | doc links: Filter away autolinks in both rustc and rustdoc | Vadim Petrochenkov | -2/+19 | |
| 2023-02-18 | rustdoc: Cleanup broken link callbacks | Vadim Petrochenkov | -13/+10 | |
| 2023-02-15 | use chars instead of strings where applicable | Matthias Krüger | -1/+1 | |
| 2023-02-10 | Stop resolving doc links on `mod` items twice | Vadim Petrochenkov | -0/+8 | |
| 2023-02-10 | Resolve documentation links in rustc and store the results in metadata | Vadim Petrochenkov | -0/+361 | |
| This commit implements MCP https://github.com/rust-lang/compiler-team/issues/584 It also removes code that is no longer used, and that includes code cloning resolver, so issue #83761 is fixed. | ||||
