Skip to content

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Apr 15, 2017

By using queries::adt_sized_constraint::try_get, we can detect cycles without a separate stack.
r? @nikomatsakis

@arielb1
Copy link
Contributor

arielb1 commented Apr 15, 2017

Nice catch!

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 15, 2017

📌 Commit 2a17b84 has been approved by arielb1

@arielb1 arielb1 added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 15, 2017
@bors
Copy link
Collaborator

bors commented Apr 15, 2017

⌛ Testing commit 2a17b84 with merge d5cf1cb...

bors added a commit that referenced this pull request Apr 15, 2017
rustc: provide adt_sized_constraint as an on-demand query.

By using `queries::adt_sized_constraint::try_get`, we can detect cycles without a separate stack.
r? @nikomatsakis
@bors
Copy link
Collaborator

bors commented Apr 15, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: arielb1
Pushing d5cf1cb to master...

@bors bors merged commit 2a17b84 into rust-lang:master Apr 15, 2017
@eddyb eddyb deleted the demand-adt-sized-constraint branch April 15, 2017 22:16
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
Development

Successfully merging this pull request may close these issues.

4 participants