| commit | 91820254a0e0ef03865e8df3f0f75ea92653e58b | [log] [tgz] |
|---|---|---|
| author | Oliver Newman <olivernewman@google.com> | Fri Feb 11 22:37:56 2022 +0000 |
| committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 11 22:37:56 2022 +0000 |
| tree | fd84f486167224dc18c672c680536574ee0e68d9 | |
| parent | e2569eb47676ac255ba18791cdceee04a27a19b8 [diff] |
[clippy] Add all help messages to tricium comments In addition to the main message of a lint, also add all the child help messages to each Clippy Tricium comment. This will provide additional information to CL authors (often including suggestions for fixing the lint) and also automatically handles linking to the documentation for the lint, as a link to the docs is often included in the help messages. This also causes Tricium to stop adding broken links for undocumented warnings like `unused_variables`, as we no longer assume that every lint has a corresponding documentation URL and instead only add a URL if Clippy thinks it exists. Also, slightly simplify the test utility code for writing fake Clippy results to a JSON-lines file. Change-Id: If5e4cbde98fec6bb696609ad6e9e0bb451f388d0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/645461 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Joseph Ryan <josephry@google.com> Commit-Queue: Joseph Ryan <josephry@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.