chore(style): sync submodule exclusion list between tidy and rustfmt

As asked in the FIXME comments
This commit is contained in:
ismailarilik 2024-11-02 16:43:10 +03:00
parent 588a420350
commit 4e0d71f3f6
2 changed files with 1 additions and 3 deletions

View File

@ -26,8 +26,6 @@ ignore = [
"/tests/ui-fulldeps/", # Some are whitespace-sensitive (e.g. `// ~ERROR` comments).
# Do not format submodules.
# FIXME: sync submodule list with tidy/bootstrap/etc
# tidy/src/walk.rs:filter_dirs
"library/backtrace",
"library/portable-simd",
"library/stdarch",
@ -41,6 +39,7 @@ ignore = [
"src/llvm-project",
"src/tools/cargo",
"src/tools/clippy",
"src/tools/enzyme",
"src/tools/miri",
"src/tools/rust-analyzer",
"src/tools/rustc-perf",

View File

@ -7,7 +7,6 @@ use ignore::DirEntry;
/// The default directory filter.
pub fn filter_dirs(path: &Path) -> bool {
// FIXME: sync submodule exclusion list with rustfmt.toml
// bootstrap/etc
let skip = [
"tidy-test-file",