In addition to rustc lints, there are clippy lints – if a lint is useful but has performance too bad to run it on every compile, then implementing it in clippy would probably be the best option.
2 Likes