about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-08-19 09:19:02 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-08-19 09:22:34 +0200
commit638755a771de77a7060398a6f5619be17497efa3 (patch)
tree45bb99f267565e791c7492f5df2c86cb03d04eb4 /compiler/rustc_interface/src/errors.rs
parent49700e46366bfe7958204877b4edcf74987ec508 (diff)
downloadrust-638755a771de77a7060398a6f5619be17497efa3.tar.gz
rust-638755a771de77a7060398a6f5619be17497efa3.zip
Log rustfmt parsing errors as warnings
We unconditionally pass an edition parameter to rustfmt, for some crates
this might fail rustfmt so instead of swallowing the error, at least Log
it on a level that is logged by default so users won't be completely
confused about it.
See for context https://github.com/rust-lang/rust-analyzer/issues/10209

Closes https://github.com/rust-lang/rust-analyzer/issues/10209
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions