about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-19 07:23:01 +0000
committerbors <bors@rust-lang.org>2022-08-19 07:23:01 +0000
commita2ad3d06696d9c80673f69dfef70c34c1b0c68e6 (patch)
tree2a31c524599609b5c7f65d6918dc71a709aff7aa /compiler/rustc_interface/src/errors.rs
parent04c487dd516e30f3145bb792c3cbf2265e8e55b3 (diff)
parent638755a771de77a7060398a6f5619be17497efa3 (diff)
downloadrust-a2ad3d06696d9c80673f69dfef70c34c1b0c68e6.tar.gz
rust-a2ad3d06696d9c80673f69dfef70c34c1b0c68e6.zip
Auto merge of #13064 - Veykril:rustfmt-err, r=Veykril
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