Incorrect output when two different lint libs being executed consecutively
EFanZh opened this issue · comments
EFanZh commented
Suppose I have two lint libraries in a workspace:
[workspace.metadata.dylint]
libraries = [{ path = "crates/my-lint-0" }, { path = "crates/my-lint-1" }]
If I run cargo dylint
with these two different libraries consecutively, the second run will output the same result as the first one:
$ cargo dylint --lib my-lint-0
(some output)
$ cargo dylint --lib my-lint-1
(the same output from previous run)
I expect the second run should generate a different output.
Samuel Moelius commented
That sounds really annoying. I'll make fixing this a priority.
Samuel Moelius commented