Do not ICE on non-ADT rcvr type when looking for crate version collision by estebank · Pull Request #129250 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation15 Commits2 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

estebank

When looking for multiple versions of the same crate, do not blindly construct the receiver type.

Follow up to #128786.
Fixes #129205
Fixes #129216

@rustbot

r? @Nadrieril

rustbot has assigned @Nadrieril.
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 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

Aug 18, 2024

jieyouxu

@Nadrieril

compiler-errors

@rustbot rustbot 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-review

Status: Awaiting review from the assignee but also interested parties.

labels

Aug 20, 2024

@compiler-errors

@bors

📌 Commit c78e7fa 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-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Aug 21, 2024

@rust-log-analyzer

This comment has been minimized.

tgross35 added a commit to tgross35/rust that referenced this pull request

Aug 21, 2024

@tgross35

…errors

Do not ICE on non-ADT rcvr type when looking for crate version collision

When looking for multiple versions of the same crate, do not blindly construct the receiver type.

Follow up to rust-lang#128786. Fix rust-lang#129205.

@jieyouxu

Failed in #129348 (comment)

[crashes] tests/crashes/129205.rs ... F
[crashes] tests/crashes/129216.rs ... F

Probably need to remove these tests or convert to ui tests.

@bors r-

@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

Aug 21, 2024

@jieyouxu

@gurry

Maybe this PR also fixes #129216?

Yes, it should as the ICE in #129216 occurred inside the call to type_of and that call is removed now.

@compiler-errors

I've rebased and removed the offending crashes. I don't think needs more tests, since they're exercising the same codepath (param has no type_of). Pushing now because I believe that beta branches tomorrow, and I'd like to get this fix sooner than later.

@bors r+ rollup

@bors

📌 Commit 4a088d9 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-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Aug 26, 2024

@matthiaskrgr

(ive updated pr header to autotclose the other crashtest issue as well)

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Aug 26, 2024

@matthiaskrgr

…errors

Do not ICE on non-ADT rcvr type when looking for crate version collision

When looking for multiple versions of the same crate, do not blindly construct the receiver type.

Follow up to rust-lang#128786. Fixes rust-lang#129205 Fixes rust-lang#129216

This was referenced

Aug 26, 2024

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

Aug 26, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

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

Aug 27, 2024

@rust-timer

Rollup merge of rust-lang#129250 - estebank:issue-129205, r=compiler-errors

Do not ICE on non-ADT rcvr type when looking for crate version collision

When looking for multiple versions of the same crate, do not blindly construct the receiver type.

Follow up to rust-lang#128786. Fixes rust-lang#129205 Fixes rust-lang#129216

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.