| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
