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

do not try fetching the ancestors of errored trait impls #74516

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Jul 19, 2020

fixes #74483

While building the specialization graph, we use tcx.all_impls which discards impls with incorrect self types,
we do however call trait_def.ancestors with these impls which caused an ICE as they aren't part of the
specialization graph.

@rust-highfive
Copy link
Collaborator

r? @ecstatic-morse

(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 Jul 19, 2020
@lcnr lcnr added the F-specialization `#![feature(specialization)]` label Jul 19, 2020
@ecstatic-morse
Copy link
Contributor

r? @matthewjasper

@matthewjasper
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jul 19, 2020

📌 Commit 455e614 has been approved by matthewjasper

@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 Jul 19, 2020
@bors
Copy link
Contributor

bors commented Jul 19, 2020

⌛ Testing commit 455e614 with merge 35d2deb0ad2464a5bf3b38836619c783b908448d...

@bors
Copy link
Contributor

bors commented Jul 19, 2020

💔 Test failed - checks-actions

@bors 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 Jul 19, 2020
@lcnr
Copy link
Contributor Author

lcnr commented Jul 19, 2020

seems spurious, let's just try this again...

@bors retry rollup=always

@bors

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Jul 19, 2020

📌 Commit 455e614 has been approved by matthewjasper

@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 Jul 19, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 20, 2020
…arth

Rollup of 9 pull requests

Successful merges:

 - rust-lang#73618 (Documentation for the false keyword)
 - rust-lang#74486 (Improve Read::read_exact documentation)
 - rust-lang#74514 (Do not clobber RUSTDOCFLAGS)
 - rust-lang#74516 (do not try fetching the ancestors of errored trait impls)
 - rust-lang#74520 (include backtrace folder in rust-src component)
 - rust-lang#74523 (Improve documentation for `core::fmt` internals)
 - rust-lang#74527 (Add myself to toolstate change notifications for rustfmt)
 - rust-lang#74534 (Only skip impls of foreign unstable traits)
 - rust-lang#74536 (fix documentation surrounding the `in` and `for` keywords)

Failed merges:

r? @ghost
@bors bors merged commit 55c4057 into rust-lang:master Jul 20, 2020
@lcnr lcnr deleted the min-specialization-ice branch July 20, 2020 06:15
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-specialization `#![feature(specialization)]` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE with min_specialization feature on implementing trait for non-existent struct
6 participants