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 }})
When looking for multiple versions of the same crate, do not blindly construct the receiver type.
Follow up to #128786.
Fixes #129205
Fixes #129216
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 added S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
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
📌 Commit c78e7fa has been approved by compiler-errors
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-author
Status: This is awaiting some action (such as code changes or more information) from the author.
labels
This comment has been minimized.
tgross35 added a commit to tgross35/rust that referenced this pull request
…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.
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 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
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.
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
📌 Commit 4a088d9 has been approved by compiler-errors
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-author
Status: This is awaiting some action (such as code changes or more information) from the author.
labels
(ive updated pr header to autotclose the other crashtest issue as well)
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request
…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
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#126013 (Add
#[warn(unreachable_pub)]
to a bunch of compiler crates) - rust-lang#128157 (deduplicate and clarify rules for converting pointers to references)
- rust-lang#129032 (Document & implement the transmutation modeled by
BikeshedIntrinsicFrom
) - rust-lang#129250 (Do not ICE on non-ADT rcvr type when looking for crate version collision)
- rust-lang#129340 (Remove Duplicate E0381 Label)
- rust-lang#129560 ([rustdoc] Generate source link on impl associated types)
- rust-lang#129622 (Remove a couple of unused feature enables)
- rust-lang#129625 (Rename
ParenthesizedGenericArgs
toGenericArgsMode
) - rust-lang#129626 (Remove
ParamMode::ExplicitNamed
)
Failed merges:
- rust-lang#128166 (Improved
checked_isqrt
andisqrt
methods)
r? @ghost
@rustbot
modify labels: rollup
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request
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
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Relevant to the compiler team, which will review and decide on the PR/issue.