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

Add some GATs-related regression tests #90678

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

JohnTitor
Copy link
Member

Closes #88595, closes #90014
r? @jackh726

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 8, 2021
@jackh726
Copy link
Member

jackh726 commented Nov 8, 2021

Can you add the bounds the test outputs say to? So they either pass or fail during type checking.

@JohnTitor
Copy link
Member Author

Sure, updated as suggsted.

Copy link
Member

@jackh726 jackh726 left a comment

Choose a reason for hiding this comment

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

r=me after adding FIXME

trait A<'a> {
type B<'b>: Clone
where
'a: 'b, Self: 'a, Self: 'b;
Copy link
Member

Choose a reason for hiding this comment

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

Oh uh...right. can you add a FIXME(generic_associated_types) here to remove one of these bounds? It's currently unresolved for the outlives lint and I don't want to miss this after that is resolved.

@JohnTitor
Copy link
Member Author

@bors r=jackh726 rollup+

@bors
Copy link
Contributor

bors commented Nov 8, 2021

📌 Commit ebd401b has been approved by jackh726

@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 Nov 8, 2021
@jackh726
Copy link
Member

jackh726 commented Nov 9, 2021

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 9, 2021
Rollup of 6 pull requests

Successful merges:

 - rust-lang#87530 (Add comments regarding superfluous `!Sync` impls)
 - rust-lang#90591 (treat illumos like solaris in failing ui tests which need it)
 - rust-lang#90678 (Add some GATs-related regression tests)
 - rust-lang#90688 (enable `dotprod` target feature in arm)
 - rust-lang#90708 (Add a note about feature(explicit_generic_args_with_impl_trait) to the relevant error message)
 - rust-lang#90720 (Update cargo)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit c2f095a into rust-lang:master Nov 9, 2021
@rustbot rustbot added this to the 1.58.0 milestone Nov 9, 2021
@JohnTitor JohnTitor deleted the add-some-gats-tests branch November 9, 2021 17:40
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.
Projects
None yet
5 participants