c6e43b1ba7
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 🚀