a10fe902d2
Easier readability for `needless_late_init` message Closes #8530 Updated the lint to use a `MultiSpan`, showing where the `let` statement was first used and where the initialisation statement was done, as in the format described, for easier readability. Was wondering why, when pushing the span label for the initialisation statement, that sometimes the prior statement above the initialisation statement gets pulled into the output as well - any insight is appreciated! --- changelog: [`needless_late_init`]: Now shows the `let` statement where it was first initialized |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |