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

Factor out hir::Node::Binding #98639

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Conversation

camsteffen
Copy link
Contributor

No description provided.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 28, 2022
@rustbot
Copy link
Collaborator

rustbot commented Jun 28, 2022

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive
Copy link
Collaborator

r? @compiler-errors

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 28, 2022
@compiler-errors
Copy link
Member

@camsteffen do you mind fixing the tidy failure and rebasing? https://github.com/rust-lang/rust/runs/7099501730?check_suite_focus=true#step:25:2212

also did you bless the ui tests? curious if this changed any diagnostics outputs.

@camsteffen
Copy link
Contributor Author

My bad. Fixed tidy and rebased. Didn't run the ui tests since I'm hoping they just pass.

@compiler-errors
Copy link
Member

I can take a look at this after my real day job is over 😜.

@compiler-errors
Copy link
Member

Looks good to me.

@bors r+

@bors
Copy link
Contributor

bors commented Jun 30, 2022

📌 Commit 716af21 has been approved by compiler-errors

@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 Jun 30, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jun 30, 2022
…ler-errors

Factor out `hir::Node::Binding`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 30, 2022
…ler-errors

Factor out `hir::Node::Binding`
@matthiaskrgr matthiaskrgr mentioned this pull request Jun 30, 2022
@matthiaskrgr
Copy link
Member

This will need a rebase once #98706 is merged, can't merge both PRs at a time due to compiler error: #98723 (comment)

I'm gonna @bors r- to get this out of the queue for now, feel free to re-r+ once rebase is done.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 30, 2022
@@ -71,8 +71,7 @@ impl<'tcx> LateLintPass<'tcx> for ManualRemEuclid {
&& let Some(const3) = check_for_unsigned_int_constant(cx, right)
// Also ensures the const is nonzero since zero can't be a divisor
&& const1 == const2 && const2 == const3
&& let Some(hir_id) = path_to_local(expr3)
&& let Some(Node::Binding(_)) = cx.tcx.hir().find(hir_id) {
&& let Some(hir_id) = path_to_local(expr3) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

New change with rebase. path_to_local is always a binding.

@camsteffen
Copy link
Contributor Author

@bors r=compiler-errors

@bors
Copy link
Contributor

bors commented Jul 1, 2022

📌 Commit ec82bc1 has been approved by compiler-errors

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 1, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 2, 2022
Rollup of 5 pull requests

Successful merges:

 - rust-lang#98639 (Factor out `hir::Node::Binding`)
 - rust-lang#98653 (Add regression test for rust-lang#79494)
 - rust-lang#98763 (bootstrap: illumos platform flags for split-debuginfo)
 - rust-lang#98766 (cleanup mir visitor for `rustc::pass_by_value`)
 - rust-lang#98783 (interpret: make a comment less scary)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d287726 into rust-lang:master Jul 2, 2022
@rustbot rustbot added this to the 1.64.0 milestone Jul 2, 2022
@camsteffen camsteffen deleted the no-node-binding branch July 2, 2022 12:12
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 18, 2022
…ler-errors

Factor out `hir::Node::Binding`
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.

6 participants