We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5544f5d commit a93f531Copy full SHA for a93f531
1 file changed
build_system/src/test.rs
@@ -945,17 +945,7 @@ where
945
rust_path.join("tests/ui"),
946
&mut |dir| {
947
let dir_name = dir.file_name().and_then(|name| name.to_str()).unwrap_or("");
948
- if [
949
- "abi",
950
- "extern",
951
- "unsized-locals",
952
- "proc-macro",
953
- "threads-sendsync",
954
- "borrowck",
955
- "test-attrs",
956
- ]
957
- .contains(&dir_name)
958
- {
+ if ["abi", "extern", "proc-macro", "threads-sendsync"].contains(&dir_name) {
959
remove_dir_all(dir).map_err(|error| {
960
format!("Failed to remove folder `{}`: {:?}", dir.display(), error)
961
})?;
0 commit comments