Skip to content
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

Fail silently on format failure #107

Merged
merged 1 commit into from Nov 28, 2016

Conversation

kopiczko
Copy link
Contributor

Before this change when a file with syntax error was written, all its
content was printed as a formatting error message. This change makes
format command fail silently and prevents form such behaviour.

Before this change when a file with syntax error was written, all its
content was printed as a formatting error message. This change makes
format command fail silently and prevents form such behaviour.

Syntax checking shouldn't be formatter responsibility.
@steveklabnik steveklabnik merged commit 1851f69 into rust-lang:master Nov 28, 2016
@steveklabnik
Copy link
Member

Makes sense to me, thank you!

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.

None yet

2 participants