1

Gracefully handle `AnonConst` in `diagnostic_hir_wf_check()` by gurry · Pull Req...

 4 weeks ago
source link: https://github.com/rust-lang/rust/pull/122370
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Contributor

Instead of running the WF check on the AnonConst itself we run it on the ty of the generic param of which the AnonConst is the default value.

Fixes #122199

Collaborator

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

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

Mar 12, 2024

Member

@bors r+

Contributor

📌 Commit d0e4a3b has been approved by davidtwco

It is now in the queue for this repository.

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

Mar 18, 2024

Member

I think this needs a rebase

lqd and gurry reacted with thumbs up emoji

This comment has been minimized.

Contributor

@bors r-

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

Mar 18, 2024

Contributor

PR is incompatible with #122513

It looks like you can "just" replace the code with hir_node_by_def_id (with the associated deoptionalizing refactor).

gurry reacted with thumbs up emoji

Contributor

Author

Rebase done.

@rustbot label -S-waiting-on-author +S-waiting-on-review

rustbot

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Mar 19, 2024

Contributor

This looks exactly the same so,

@bors r=davidtwco

Contributor

📌 Commit 3c70d60 has been approved by davidtwco

It is now in the queue for this repository.

bors

removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label

Mar 19, 2024

bors

added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label

Mar 19, 2024

Contributor

⌛ Testing commit 3c70d60 with merge 67fb0d6...

Contributor

💥 Test timed out

bors

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Mar 20, 2024

Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Contributor

@bors retry

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

Mar 22, 2024

Contributor

Assuming that was spurious based on only one job hanging.

gurry reacted with thumbs up emoji

bors

merged commit f5ac009 into

rust-lang:master

Mar 22, 2024

11 of 12 checks passed

rust-timer

added a commit to rust-lang-ci/rust that referenced this pull request

Mar 22, 2024

rust-timer

added a commit to rust-lang-ci/rust that referenced this pull request

Mar 23, 2024

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

Reviewers

davidtwco

davidtwco approved these changes
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

Milestone

1.79.0

Development

Successfully merging this pull request may close these issues.

ice: Unexpected node AnonConst(AnonConst ..

7 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK