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

Suppress let_and_return if let has attributes #4024

Merged

Conversation

kraai
Copy link
Contributor

@kraai kraai commented Apr 24, 2019

Fixes #3882.

changelog: suppress let_and_return if let has attributes

@flip1995
Copy link
Member

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Apr 24, 2019

📌 Commit c047940 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Apr 24, 2019

⌛ Testing commit c047940 with merge 253601a...

bors added a commit that referenced this pull request Apr 24, 2019
…utes, r=flip1995

Suppress let_and_return if let has attributes

Fixes #3882.

changelog: suppress `let_and_return` if `let` has attributes
@bors
Copy link
Contributor

bors commented Apr 24, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing 253601a to master...

@bors bors merged commit c047940 into rust-lang:master Apr 24, 2019
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.

let_and_return shouldn't trigger if the let has an attribute
3 participants