$ cargo check makes sure your project contains valid Rust code (parses the code and checks for syntax errors).
$ cargo check