| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-27 | Improve code and better check `doc(cfg(...))` attributes | Guillaume Gomez | -1/+1 | |
| 2025-09-27 | Add code documentation, improve code and improve error message | Guillaume Gomez | -2/+2 | |
| 2025-09-27 | Put back the `doc_cfg` code behind a nightly feature | Guillaume Gomez | -3/+4 | |
| 2025-09-27 | Strenghten checks for `doc(auto_cfg(show/hide))` attributes | Guillaume Gomez | -1/+8 | |
| 2025-09-27 | Update rustdoc tests | Guillaume Gomez | -27/+11 | |
| 2025-09-22 | fix ICE in rustdoc::invalid_html_tags | binarycat | -0/+63 | |
| 2025-09-10 | Add new ui tests for `rustdoc::bare_urls` | Guillaume Gomez | -1/+97 | |
| 2025-08-21 | refactor rustdoc::invalid_html_tags tag parser | binarycat | -19/+117 | |
| previously, this lint did not distinguish between `<img` and `<img>`, and since the latter should be accepted under html5, the former was also accepted. the parser now also handles multi-line tags and multi-line attributes. | ||||
| 2025-08-21 | add regression test for #145529 | binarycat | -1/+44 | |
| 2025-07-24 | adjust more unit tests to reflect more aggressive intra-doc linting | binarycat | -4/+69 | |
| 2025-06-23 | Improve code and documentation | Guillaume Gomez | -3/+31 | |
| 2025-06-23 | Add ui test for `redundant_explicit_links` rustdoc lint for items coming ↵ | Guillaume Gomez | -0/+51 | |
| from expansion | ||||
| 2025-05-22 | rustdoc: improve diagnostics on raw doc fragments | binarycat | -1/+87 | |
| 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-04-03 | compiletest: Require `//~` annotations even if `error-pattern` is specified | Vadim Petrochenkov | -2/+3 | |
| 2025-03-25 | compiletest: Support matching on diagnostics without a span | Vadim Petrochenkov | -0/+2 | |
| 2025-02-10 | Show diff suggestion format on verbose replacement | Esteban Küber | -120/+180 | |
| ``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ``` | ||||
| 2024-12-27 | Remove the `-test` suffix from normalize directives | Zalathar | -2/+2 | |
| 2024-12-18 | Point at lint name instead of whole attr for gated lints | Esteban Küber | -2/+2 | |
| ``` warning: unknown lint: `test_unstable_lint` --> $DIR/warn-unknown-unstable-lint-inline.rs:4:10 | LL | #![allow(test_unstable_lint, another_unstable_lint)] | ^^^^^^^^^^^^^^^^^^ | = note: the `test_unstable_lint` lint is unstable = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date note: the lint level is defined here --> $DIR/warn-unknown-unstable-lint-inline.rs:3:9 | LL | #![warn(unknown_lints)] | ^^^^^^^^^^^^^ warning: unknown lint: `test_unstable_lint` --> $DIR/warn-unknown-unstable-lint-inline.rs:4:29 | LL | #![allow(test_unstable_lint, another_unstable_lint)] | ^^^^^^^^^^^^^^^^^^^^^ | = note: the `test_unstable_lint` lint is unstable = help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date note: the lint level is defined here --> $DIR/warn-unknown-unstable-lint-inline.rs:3:9 | LL | #![warn(unknown_lints)] | ^^^^^^^^^^^^^ ``` This is particularly relevant when there are multiple lints in the same `warn` attribute. Pointing at the smaller span makes it clearer which one the warning is complaining about. | ||||
| 2024-12-13 | Account for `///` when rendering multiline spans | Esteban Küber | -6/+35 | |
| Don't consider `///` and `//!` docstrings to be empty for the purposes of multiline span rendering. | ||||
| 2024-12-12 | Filter empty lines, comments and delimiters from previous to last multiline ↵ | Esteban Küber | -15/+0 | |
| span rendering | ||||
| 2024-12-12 | Tweak multispan rendering | Esteban Küber | -57/+6 | |
| Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments. | ||||
| 2024-11-28 | Do not emit `missing_doc_code_examples` rustdoc lint on module and a few ↵ | Guillaume Gomez | -55/+19 | |
| other items | ||||
| 2024-09-28 | Improve mistyped docblock attribute warning messages | Guillaume Gomez | -30/+30 | |
| 2024-07-04 | Adjust rustdoc automatic link suggestion | Esteban Küber | -18/+90 | |
| Use more accurate spans for multipart suggestion. | ||||
| 2024-06-25 | RFC 2373: Update tests for rustdoc for `lint_reasons` | xFrednet | -4/+4 | |
| 2024-06-25 | RFC 2383: Stabilize `lint_reasons` :tada: | xFrednet | -1/+0 | |
| 2024-03-18 | When displaying multispans, ignore empty lines adjacent to `...` | Esteban Küber | -2/+0 | |
| ``` error[E0308]: `match` arms have incompatible types --> tests/ui/codemap_tests/huge_multispan_highlight.rs:98:18 | 6 | let _ = match true { | ---------- `match` arms have incompatible types 7 | true => ( | _________________- 8 | | // last line shown in multispan header ... | 96 | | 97 | | ), | |_________- this is found to be of type `()` 98 | false => " | __________________^ ... | 119 | | 120 | | ", | |_________^ expected `()`, found `&str` error[E0308]: `match` arms have incompatible types --> tests/ui/codemap_tests/huge_multispan_highlight.rs:215:18 | 122 | let _ = match true { | ---------- `match` arms have incompatible types 123 | true => ( | _________________- 124 | | 125 | | 1 // last line shown in multispan header ... | 213 | | 214 | | ), | |_________- this is found to be of type `{integer}` 215 | false => " | __________________^ 216 | | 217 | | 218 | | 1 last line shown in multispan ... | 237 | | 238 | | ", | |_________^ expected integer, found `&str` ``` | ||||
| 2024-02-29 | Update ui tests | Guillaume Gomez | -120/+28 | |
| 2024-02-29 | Fix tests that are affected by this change | sisungo | -2/+2 | |
| 2024-02-22 | [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives | 许杰友 Jieyou Xu (Joe) | -20/+20 | |
| 2024-01-26 | remove illegal_floating_point_literal_pattern lint | Ralf Jung | -7/+6 | |
| 2024-01-13 | Bless tests | George-lewis | -0/+2 | |
| Update tests | ||||
| 2023-12-12 | Add a test for a codeblock with multiple invalid attributes | Guillaume Gomez | -1/+39 | |
| 2023-12-12 | Follow guidelines for lint suggestions | Guillaume Gomez | -15/+31 | |
| 2023-12-12 | Add test for `rustX` codeblock attribute | Guillaume Gomez | -1/+20 | |
| 2023-11-24 | Bless rustdoc-ui tests | Nilstrieb | -4/+4 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-05 | Add a note to duplicate diagnostics | Alex Macleod | -29/+4 | |
| 2023-08-21 | rustdoc: use unicode-aware checks for redundant explicit link fastpath | Michael Howell | -0/+18 | |
| Fixes #115064 | ||||
| 2023-08-18 | Add regression test for inline doc | Kyle Lin | -0/+13 | |
| 2023-08-18 | narrow down the lint trigger constraint | Kyle Lin | -0/+1 | |
| 2023-08-18 | add missing deny lint | Kyle Lin | -0/+2 | |
| 2023-08-18 | Add check-pass tests and fix test behavior | Kyle Lin | -0/+4 | |
| 2023-08-18 | Still resolving rustdoc resolution panicking | Kyle Lin | -6/+6 | |
| 2023-08-18 | Support Reference & ReferenceUnknown link lint | Kyle Lin | -1/+909 | |
| 2023-08-18 | Refactor lint from rustc to rustdoc | Kyle Lin | -74/+327 | |
| 2023-08-18 | fix trailing whitespace | Kyle Lin | -2/+2 | |
| 2023-08-18 | bless test output | Kyle Lin | -9/+45 | |
| 2023-08-18 | add more tests | Kyle Lin | -0/+8 | |
| 2023-08-18 | Fix resolution caching | Kyle Lin | -1/+113 | |
| 2023-08-18 | Add warn level lint `redundant_explicit_links` | Kyle Lin | -0/+6 | |
| - Currently it will panic due to the resolution's caching issue | ||||
