Described in #1977 (comment) This would be used mainly by CI and would emit exit code 0 if no formatting was necessary and 1 if formatting is necessary. The output to stdout would be the same as diff mode.
Mentoring instructions:
Implementation
Follow ups
Described in #1977 (comment) This would be used mainly by CI and would emit exit code 0 if no formatting was necessary and 1 if formatting is necessary. The output to stdout would be the same as
diffmode.Mentoring instructions:
Implementation
checkto the rustfmt bin optionschecklikediffmode, but with different exit codes (will require refactoring or exit code handling, I think)checkmodeFollow ups
cargo fmtexit codes withrustfmtones (this might be trivial once this issue is fixed)