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

Fix unsoundness bug in functions input references #49885

Merged
merged 3 commits into from
Apr 15, 2018

Conversation

spastorino
Copy link
Member

@spastorino spastorino commented Apr 11, 2018

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 11, 2018
@rust-lang rust-lang deleted a comment from TimNN Apr 11, 2018
@spastorino spastorino force-pushed the fn_ref_unsound branch 2 times, most recently from 1753809 to aaaafa9 Compare April 11, 2018 22:59
@spastorino spastorino force-pushed the fn_ref_unsound branch 2 times, most recently from 8230c10 to 55fb12c Compare April 11, 2018 23:03
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Apr 12, 2018

📌 Commit 55fb12c has been approved by nikomatsakis

@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 Apr 12, 2018
@bors
Copy link
Contributor

bors commented Apr 15, 2018

⌛ Testing commit 55fb12c with merge 602b395...

bors added a commit that referenced this pull request Apr 15, 2018
Fix unsoundness bug in functions input references

Fixes #48803

r? @nikomatsakis
@bors
Copy link
Contributor

bors commented Apr 15, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing 602b395 to master...

@bors bors merged commit 55fb12c into rust-lang:master Apr 15, 2018
debug!(
"prove_predicates(predicates={:?}, location={:?})",
predicates, location
predicates_iter.by_ref().collect::<Vec<_>>(),
Copy link
Contributor

Choose a reason for hiding this comment

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

won't this exhaust the iterator, so that this code no longer generates any obligations below when debug output is enabled?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ooops, you're right. Going to fix this :).

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed, PR sent #50076

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.

5 participants