about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-01-02 17:26:46 +0100
committerNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-01-02 17:26:46 +0100
commit8b73fc5e27009cf7b3c8f306a09a41b30f869d87 (patch)
tree2508f0df288edd8b1965a775ac20cafb9ceb88d0 /compiler/rustc_parse/src/parser/expr.rs
parentbf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff)
downloadrust-8b73fc5e27009cf7b3c8f306a09a41b30f869d87.tar.gz
rust-8b73fc5e27009cf7b3c8f306a09a41b30f869d87.zip
Fix formatting command
The formatting command previously had two issues:
- if rustfmt failed, it would print the command invocation. this is
  unnecessarily noisy
- there was a race condition that lead to orphan rustfmts that would
  print their output after bootstrap exited

We fix this by
- removing the printing, it's not really useful
- threading failure through properly instead of just yoloing exit(1)
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions