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

Fix unnecessary_unwrap lint when checks are done in parameters #5558

Merged
merged 1 commit into from
May 2, 2020

Conversation

ThibsG
Copy link
Contributor

@ThibsG ThibsG commented May 2, 2020

Fixes a false positive in unnecessary_unwrap lint when checks are done in macro parameters.

FIxes #5174

changelog: Fixes a false positive in unnecessary_unwrap lint when checks are done in macro parameters.

@ThibsG ThibsG changed the title Fix unwrap lint when checks are done in parameters Fix unnecessary_unwrap lint when checks are done in parameters May 2, 2020
@ThibsG ThibsG changed the title Fix unnecessary_unwrap lint when checks are done in parameters Fix unnecessary_unwrap lint when checks are done in parameters May 2, 2020
@phansch phansch added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 2, 2020
@flip1995
Copy link
Member

flip1995 commented May 2, 2020

What an awesome fix, thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented May 2, 2020

📌 Commit 72ce6d5 has been approved by flip1995

bors added a commit that referenced this pull request May 2, 2020
Fix `unnecessary_unwrap` lint when checks are done in parameters

Fixes a false positive in `unnecessary_unwrap` lint when checks are done in macro parameters.

FIxes #5174

changelog: Fixes a false positive in `unnecessary_unwrap` lint when checks are done in macro parameters.
@bors
Copy link
Collaborator

bors commented May 2, 2020

⌛ Testing commit 72ce6d5 with merge a9dccd8...

@bors
Copy link
Collaborator

bors commented May 2, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing a9dccd8 to master...

@bors
Copy link
Collaborator

bors commented May 2, 2020

👀 Test was successful, but fast-forwarding failed: 422 Update is not a fast forward

@flip1995
Copy link
Member

flip1995 commented May 2, 2020

@bors retry

@bors
Copy link
Collaborator

bors commented May 2, 2020

⌛ Testing commit 72ce6d5 with merge 75a7171...

@bors
Copy link
Collaborator

bors commented May 2, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 75a7171 to master...

@bors bors merged commit 75a7171 into rust-lang:master May 2, 2020
@ThibsG ThibsG deleted the FixUnwrapInArgs branch May 2, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive in unnecessary_unwrap
4 participants