-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Conversation
1753809
to
aaaafa9
Compare
Check that function input references are well formed
8230c10
to
55fb12c
Compare
@bors r+ |
📌 Commit 55fb12c has been approved by |
Fix unsoundness bug in functions input references Fixes #48803 r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
debug!( | ||
"prove_predicates(predicates={:?}, location={:?})", | ||
predicates, location | ||
predicates_iter.by_ref().collect::<Vec<_>>(), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 :).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, PR sent #50076
Fixes #48803
r? @nikomatsakis