| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Replace the single optional `suggestion` field with a
`Vec<LintSuggestion>`
to allow multiple automatic fix suggestions per lint report
BREAKING CHANGE: The `suggestion` field has been replaced by
`suggestions`
|
| |
|
|
|
|
| |
Use `quote` token stream matching instead of debug formatting
to detect variable references in `unnecessary_render_result_creation`,
fixing false positives from string-based matching.
|
| |
|
|
|
|
| |
Add `assert_detected!` and `assert_not_detected!` macros to simplify
writing lint tests, along with initial test coverage for the
unnecessary render result creation linter.
|
| |
|
|
|
|
|
|
|
| |
Extend the `unnecessary_render_result_creation` lint to also flag uses
of
`RenderResult::default()` and `RenderResult::from(...)`, and add
`#[derive(Default)]` to `MlintReport` and `MlintLevel` to simplify
struct
instantiation
|
|
|
generation
|