https://github.com/rust-lang/rust-clippy is the go-to linter for Rust. We should encode common anti-patterns in it so that people will get warnings about such code. This includes: 1. Code that compromises safety directly, such as improper path handling 1. Code that tends to be slow and get refactored into unsafe code for performance reasons, even though a safe alternative is available (see https://github.com/rust-lang/rust-clippy/issues/3237 for an example) #19 will help in detecting the anti-patterns.