about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-29 14:37:37 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-31 15:56:45 +1000
commit70bc0c5b204375e3efe1572689356bf99a9f4e9d (patch)
tree680cd672919f6308c2c0315318d17772e63000e4
parent4fd2003026bf66dd09f40e81958f0b1ecfdeb62d (diff)
downloadrust-70bc0c5b204375e3efe1572689356bf99a9f4e9d.tar.gz
rust-70bc0c5b204375e3efe1572689356bf99a9f4e9d.zip
Explain why we don't run rustfmt on `tests/crashes/`.
-rw-r--r--rustfmt.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index e633ab2c6e3..6f79e4b4e52 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -15,7 +15,7 @@ ignore = [
     # - some UI tests are broken by different formatting
     # - some require special comments in a particular position (e.g. `EMIT_MIR` comments)
     "/tests/codegen/simd-intrinsic/", # Many types like `u8x64` are better hand-formatted.
-    "/tests/crashes/",
+    "/tests/crashes/",                # Many tests contain syntax errors.
     "/tests/debuginfo/",
     "/tests/incremental/",
     "/tests/mir-opt/",