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

Register even erroneous impls #119868

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jan 11, 2024

Otherwise the specialization graph fails to pick it up, even though other code assumes that all impl blocks have an entry in the specialization graph.

also includes an unrelated cleanup of the specialization graph query

fixes #119827

…site, and used to immediately throw away the rest of the value. Let's use `Result` to statically signal that this is happening
Otherwise the specialization graph fails to pick it up, even though other code assumes that all impl blocks have an entry in the specialization graph.
@rustbot
Copy link
Collaborator

rustbot commented Jan 11, 2024

r? @compiler-errors

(rustbot has picked a reviewer for you, use r? to override)

@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 Jan 11, 2024
@compiler-errors
Copy link
Member

r=me

@compiler-errors
Copy link
Member

when green

@oli-obk
Copy link
Contributor Author

oli-obk commented Jan 11, 2024

@bors r=compiler-errors

@bors
Copy link
Contributor

bors commented Jan 11, 2024

📌 Commit 6679e2c 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-review Status: Awaiting review from the assignee but also interested parties. labels Jan 11, 2024
@oli-obk
Copy link
Contributor Author

oli-obk commented Jan 11, 2024

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 12, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#119781 (fix typo)
 - rust-lang#119865 (Set `c_str_literals` stabilization version back to `CURRENT_RUSTC_VERSION`)
 - rust-lang#119866 (Convert `effects` description to doc comment)
 - rust-lang#119868 (Register even erroneous impls)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d7a720a into rust-lang:master Jan 12, 2024
11 checks passed
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 12, 2024
Rollup merge of rust-lang#119868 - oli-obk:unknown_lifetime_ice, r=compiler-errors

Register even erroneous impls

Otherwise the specialization graph fails to pick it up, even though other code assumes that all impl blocks have an entry in the specialization graph.

also includes an unrelated cleanup of the specialization graph query

fixes  rust-lang#119827
@rustbot rustbot added this to the 1.77.0 milestone Jan 12, 2024
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.

ice: Failed to get parent for DefId
4 participants