rust/tests
bors c6e43b1ba7 Auto merge of #3954 - andrehjr:add-lint-path-buf-overwrite, r=flip1995
Add Lint PathBufPushOverwrite

Closes #3923

This is a very simple Lint that checks if push is being called with a Root Path. Because that can make it overwrite the previous path.

I used std::path::Path to check if it's root, in order to keep it working across windows/linux environments instead of checking for '/'. Is that alright?

On the `if_chain!` block, Is there a way to make it short while getting the value of the first argument? I got the example from other lints.

Note that this is first Lint, I hope I got everything covered  🚀
2019-04-18 11:29:43 +00:00
..
auxiliary
ui Auto merge of #3954 - andrehjr:add-lint-path-buf-overwrite, r=flip1995 2019-04-18 11:29:43 +00:00
ui-toml NFC: fix typos 2019-04-04 11:15:30 +02:00
compile-test.rs Re-allow clippy::identity_conversion in compiletest 2019-04-07 12:07:20 -07:00
dogfood.rs
matches.rs
missing-test-files.rs
needless_continue_helpers.rs
versioncheck.rs