I'd just like to bring this back up. dylint
was mentioned, but that seems a bit clunky under the hood.
Would others be interested in discussing my idea further? I think it would be an interesting test of how well suited the current rust-lang libraries are to various tasks and could result in a high-quality, flexible, performant linter.