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

Add some basic tests for try{} expressions #4468

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

scottmcm
Copy link
Member

@scottmcm scottmcm commented Oct 13, 2020

They failed to parse in rustfmt on me in rust-lang/rust#77877, which looks like it's since been fixed, but I figured I'd send in some basic tests (mostly copied from async{}'s) anyway.

They failed to parse in rustfmt on me in rust-lang/rust#77877, which looks like it's since been fixed, but I figured I'd send in some tests anyway.
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@calebcartwright calebcartwright merged commit 3543460 into rust-lang:master Oct 14, 2020
@scottmcm scottmcm deleted the fix-try-parse branch October 14, 2020 00:33
@karyon
Copy link
Contributor

karyon commented Oct 26, 2021

backported in #4503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants