| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-14 | Un-spaghettify the control flow of generate_lint_output | Michael Goulet | -40/+49 | |
| Co-authored-by: Eric Huss <eric@huss.org> | ||||
| 2025-01-13 | Detect unstable lint docs that dont enable their feature | Michael Goulet | -10/+28 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -24/+18 | |
| 2024-09-04 | forward linker option to lint-docs | chenx97 | -0/+13 | |
| 2024-08-21 | lint on tail expr drop order change in Edition 2024 | Ding Xiang Fei | -0/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -1/+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-17 | Rename `deprecated_safe` lint to `deprecated_safe_2024` | Tobias Bucher | -0/+1 | |
| Create a lint group `deprecated_safe` that includes `deprecated_safe_2024`. Addresses https://github.com/rust-lang/rust/issues/124866#issuecomment-2142814375. | ||||
| 2024-07-07 | use "bootstrap" instead of "rustbuild" in comments and docs | onur-ozkan | -2/+2 | |
| Signed-off-by: onur-ozkan <work@onurozkan.dev> | ||||
| 2024-06-13 | lint-docs: apply considerable clippy suggestions | onur-ozkan | -10/+10 | |
| Signed-off-by: onur-ozkan <work@onurozkan.dev> | ||||
| 2024-05-24 | Add "better" edition handling on lint-docs tool | Santiago Pastorino | -2/+11 | |
| 2024-04-22 | Deny gen keyword in edition_2024_compat lints | Michael Goulet | -0/+5 | |
| 2024-04-20 | Rollup merge of #123986 - ehuss:lint-renamed, r=Mark-Simulacrum | 许杰友 Jieyou Xu (Joe) | -0/+89 | |
| lint-docs: Add redirects for renamed lints. This updates the lint docs to include a redirect for renamed lints to the new name. This helps ensure that links to the old name will still be valid. Note that this currently uses a hard-coded list. As mentioned in the comment, a future enhancement may gather this information in a better way. Unblocks #123680 | ||||
| 2024-04-15 | Fix docs for unstable_features lint. | Eric Huss | -1/+0 | |
| 2024-04-15 | lint-docs: Add redirects for renamed lints. | Eric Huss | -0/+89 | |
| 2024-03-05 | Split refining_impl_trait lint into _reachable, _internal variants | Tyler Mandry | -0/+4 | |
| 2024-01-07 | Update test for `E0796` and `static_mut_ref` lint | Obei Sideg | -0/+1 | |
| 2023-07-11 | Revert "Fix `x test lint-docs` when download-rustc is enabled" | jyn | -7/+0 | |
| This was not the correct fix. The problem was two-fold: - `download-rustc` didn't respect `llvm.assertions` - `rust-dev` was missing a bump to `download-ci-llvm-stamp` The first is fixed in this PR and the latter was fixed a while ago. Revert this change to avoid breaking `rpath = false`. | ||||
| 2023-04-18 | Fix `x test lint-docs` when download-rustc is enabled | jyn | -1/+11 | |
| Bootstrap was setting LD_LIBRARY_PATH for bootstrap tools in `tool_cmd`, and rustc inherited that environment. That broke when download-rustc was enabled; see the new comment for details. | ||||
| 2023-02-28 | Collect all matching messages for a lint. | Eric Huss | -29/+28 | |
| Some examples may contain multiple lines which trigger the lint. Previously it would only display the first message. This updates it so that all matching instances of the lint are displayed. | ||||
| 2023-02-28 | Add check for errant {{produces}} marker. | Eric Huss | -4/+34 | |
| If a lint example has an `ignore` tag, but the lint author also includes the {{produces}} marker, then the output will just contain the text `{{produces}}`. This adds a check for this mistake and provides help on how the lint docs should be written. | ||||
| 2022-10-24 | fix the lint as requested | Kagami Sascha Rosylight | -4/+2 | |
| 2022-06-04 | Add `let_underscore` lint group to `GROUP_DESCRIPTIONS`. | Aaron Kofsky | -0/+1 | |
| 2022-05-19 | Minor tweaks to rustc book summary formatting. | Eric Huss | -3/+3 | |
| 2021-09-20 | Adjust documentation for compatibility with 2021 | Mark Rousskov | -0/+4 | |
| This also adjusts the lint docs generation to accept (and ignore) an allow attribute, rather than expecting the documentation to be immediately followed by the lint name. | ||||
| 2021-09-20 | Migrate to 2021 | Mark Rousskov | -1/+1 | |
| 2021-07-29 | rfc3052: Remove authors field from Cargo manifests | Jade | -1/+0 | |
| Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo. | ||||
| 2021-07-06 | Allow lint names to have ascii numbers | Ryan Levick | -1/+3 | |
| 2021-04-26 | Add 2021 compatibility lint description | Ryan Levick | -0/+1 | |
| 2020-12-26 | lint-docs: Warn on missing lint when documenting. | Eric Huss | -6/+16 | |
| 2020-12-06 | Fix trimming of lint docs | Camelid | -2/+2 | |
| It was removing all the indentation before. Co-authored-by: Eric Huss <eric@huss.org> | ||||
| 2020-11-29 | lint-docs: Use strip-prefix to simplify. | Eric Huss | -4/+3 | |
| 2020-11-29 | lint-docs: Add some extra detail to the error message. | Eric Huss | -0/+13 | |
| This will hopefully help users figure out what was wrong and how to fix it. | ||||
| 2020-11-28 | lint-docs: Add --validate flag to validate lint docs separately. | Eric Huss | -18/+57 | |
| 2020-11-28 | lint-docs: Move free functions into methods of LintExtractor. | Eric Huss | -469/+470 | |
| This helps avoid needing to pass so many parameters around. | ||||
| 2020-09-16 | Pass --target to lint docs | Mark Rousskov | -14/+34 | |
| Otherwise, we may not have a standard library built for the native "host" target of the rustc being run. | ||||
| 2020-09-14 | Include non-JSON output in error display for lint-doc failure. | Eric Huss | -1/+4 | |
| Some errors, like if rustc is broken, or dylib search path is wrong, will only display non-JSON errors. Show those, too, to make it easier to debug a problem. | ||||
| 2020-09-13 | Support `ignore` for lint examples. | Eric Huss | -9/+20 | |
| 2020-09-13 | Link rustdoc lint docs to the rustdoc book. | Eric Huss | -30/+17 | |
| 2020-09-13 | Auto-generate lint documentation. | Eric Huss | -0/+657 | |
