]> git.lizzy.rs Git - rust.git/blobdiff - clippy_dev/src/fmt.rs
Auto merge of #7316 - lengyijun:rc_mutex, r=llogiq
[rust.git] / clippy_dev / src / fmt.rs
index 1517cdc9419626600ad03b60cbc28e1ef1cc7d42..c81eb40d52f3551ffc698db36acf7767b5c3874e 100644 (file)
@@ -60,11 +60,7 @@ fn try_run(context: &FmtContext) -> Result<bool, CliError> {
             let entry = entry?;
             let path = entry.path();
 
-            if path.extension() != Some("rs".as_ref())
-                || entry.file_name() == "ice-3891.rs"
-                // Avoid rustfmt bug rust-lang/rustfmt#1873
-                || cfg!(windows) && entry.file_name() == "implicit_hasher.rs"
-            {
+            if path.extension() != Some("rs".as_ref()) || entry.file_name() == "ice-3891.rs" {
                 continue;
             }
 
@@ -90,7 +86,7 @@ fn output_err(err: CliError) {
             },
             CliError::RaSetupActive => {
                 eprintln!(
-                    "error: a local rustc repo is enabled as path dependency via `cargo dev ide_setup`.
+                    "error: a local rustc repo is enabled as path dependency via `cargo dev setup intellij`.
 Not formatting because that would format the local repo as well!
 Please revert the changes to Cargo.tomls first."
                 );