Skip to content

Log rustfmt parsing errors as warnings #13064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Aug 19, 2022

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 #10209

Closes #10209

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 rust-lang#10209

Closes rust-lang#10209
@Veykril
Copy link
Member Author

Veykril commented Aug 19, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Aug 19, 2022

📌 Commit 638755a has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 19, 2022

⌛ Testing commit 638755a with merge a2ad3d0...

@bors
Copy link
Contributor

bors commented Aug 19, 2022

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing a2ad3d0 to master...

@bors bors merged commit a2ad3d0 into rust-lang:master Aug 19, 2022
@Veykril Veykril deleted the rustfmt-err branch August 19, 2022 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatting with rustfmt no longer works in rustc repository
2 participants