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 Remove all copyright license headers 2019-01-08 21:46:39 +01:00
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 Fix dogfood tests on Appveyor 2019-01-26 11:10:13 +02:00
matches.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
missing-test-files.rs removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
needless_continue_helpers.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
versioncheck.rs test(versioncheck): Use .no_deps() 2019-01-25 21:53:44 +01:00