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

Reorder checks to make sure potential missing expect on Option/Result… #117695

Merged

Conversation

3tilley
Copy link
Contributor

@3tilley 3tilley commented Nov 8, 2023

… runs before removing last method call

Fixes #117669

@rustbot
Copy link
Collaborator

rustbot commented Nov 8, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cjgillot (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 8, 2023
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch 2 times, most recently from ac19d49 to d38925c Compare November 8, 2023 00:42
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from d38925c to 28dca56 Compare November 8, 2023 11:29
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from 28dca56 to ed3a427 Compare November 8, 2023 11:49
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from ed3a427 to 348e59f Compare November 8, 2023 12:59
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from 348e59f to 3af6809 Compare November 8, 2023 13:24
@rust-log-analyzer

This comment has been minimized.

@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from 3af6809 to 00001eb Compare November 8, 2023 13:40
@rust-log-analyzer

This comment has been minimized.

Suggestions are reordered to to make sure potential missing expect on Option/Result runs
before the suggestion to remove the last method call
@3tilley 3tilley force-pushed the prioritise-unwrap-expect-over-last-method-call branch from 00001eb to 1854776 Compare November 8, 2023 14:15
@3tilley
Copy link
Contributor Author

3tilley commented Nov 8, 2023

Ok after a few silly mistakes and some wasted cloud resources, this has passed. @compiler-errors or other, is there anything else I need to do?

@3tilley
Copy link
Contributor Author

3tilley commented Nov 13, 2023

@rustbot review

@compiler-errors
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Nov 13, 2023

📌 Commit 1854776 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 13, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 13, 2023
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#114224 (rustc_llvm: Link to libkstat on Solaris/SPARC)
 - rust-lang#117695 (Reorder checks to make sure potential missing expect on Option/Result…)
 - rust-lang#117870 (`fn args_ref_X` to `fn args_X`)
 - rust-lang#117879 (tests: update check for inferred nneg on zext)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 918c17a into rust-lang:master Nov 13, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 13, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 13, 2023
Rollup merge of rust-lang#117695 - 3tilley:prioritise-unwrap-expect-over-last-method-call, r=compiler-errors

Reorder checks to make sure potential missing expect on Option/Result…

… runs before removing last method call

Fixes rust-lang#117669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler should suggest expect/unwrap before the suggestion to remove the last method call
6 participants