Skip to content

Don't perform selection if inherent associated types are not enabled #113286

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

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

fmease
Copy link
Member

@fmease fmease commented Jul 3, 2023

Fixes #113265.

As discussed
r? @compiler-errors

@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 Jul 3, 2023
@rust-log-analyzer

This comment has been minimized.

@fmease fmease force-pushed the iat-dont-select-if-not-enabled branch from b8f71be to 838f85d Compare July 3, 2023 12:34
@@ -1,40 +1,40 @@
error: `Self` is not valid in the self type of an impl block
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason my change leads to a reordering of diagnostics. Shouldn't matter too much.

@compiler-errors
Copy link
Member

@bors r+ rollup (only really affects the error path)

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

📌 Commit 838f85d 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 Jul 3, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 3, 2023
…llaumeGomez

Rollup of 3 pull requests

Successful merges:

 - rust-lang#112869 (Implement selection via new trait solver)
 - rust-lang#113285 ([rustdoc] Fix display of long inline cfg labels)
 - rust-lang#113286 (Don't perform selection if inherent associated types are not enabled)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 157bab6 into rust-lang:master Jul 3, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 3, 2023
@fmease fmease deleted the iat-dont-select-if-not-enabled branch July 3, 2023 19:51
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.

cycle detected when computing the variances of despite not using inherent assoc. types feature flag
5 participants