File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,32 @@ ignore = [
10
10
" /build-*/" ,
11
11
" /vendor/" ,
12
12
13
- # Tests for now are not formatted, as they are sometimes pretty-printing constrained
14
- # (and generally rustfmt can move around comments in UI-testing incompatible ways).
15
- " /tests/" ,
13
+ # Some tests are not formatted, for multiple reasons:
14
+ # - some contain syntax errors that cause rustfmt to give an error
15
+ # - some UI tests are broken by different formatting
16
+ # - some require special comments in a particular position (e.g. `EMIT_MIR` comments)
17
+ " /tests/assembly/" ,
18
+ " /tests/auxiliary/" ,
19
+ " /tests/codegen/" ,
20
+ " /tests/codegen-units/" ,
21
+ " /tests/coverage/" ,
22
+ " /tests/coverage-run-rustdoc/" ,
23
+ " /tests/crashes/" ,
24
+ " /tests/debuginfo/" ,
25
+ " /tests/incremental/" ,
26
+ " /tests/mir-opt/" ,
27
+ " /tests/pretty/" ,
28
+ " /tests/run-make/" ,
29
+ " /tests/run-make-fulldeps/" ,
30
+ " /tests/run-pass-valgrind/" ,
31
+ " /tests/rustdoc/" ,
32
+ " /tests/rustdoc-gui/" ,
33
+ " /tests/rustdoc-js/" ,
34
+ " /tests/rustdoc-json/" ,
35
+ " /tests/rustdoc-js-std/" ,
36
+ " /tests/rustdoc-ui/" ,
37
+ " /tests/ui/" ,
38
+ " /tests/ui-fulldeps/" ,
16
39
17
40
# Do not format submodules.
18
41
# FIXME: sync submodule list with tidy/bootstrap/etc
You can’t perform that action at this time.
0 commit comments