Uh oh!
There was an error while loading. Please reload this page.
Don't use zip to compare iterators during pretty-print hack - #76131
Conversation
rust-highfive
commented
Aug 30, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
c70496a to
aa49ddbCompareAaron1011
commented
Sep 19, 2020
@nikomatsakis: Are there any changes you'd like me to make? |
bors
commented
Sep 20, 2020
☔ The latest upstream changes (presumably #76964) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels: |
lcnr
commented
Sep 21, 2020
r? @lcnr r=me after rebase |
If the right-hand iterator has exactly one more element than the left-hand iterator, then both iterators will be fully consumed, but the extra element will never be compared.
aa49ddb to
f5d71a9CompareAaron1011
commented
Sep 21, 2020
@bors r=lcnr |
bors
commented
Sep 21, 2020
📌 Commit f5d71a9 has been approved by |
Don't use `zip` to compare iterators during pretty-print hack If the right-hand iterator has exactly one more element than the left-hand iterator, then both iterators will be fully consumed, but the extra element will never be compared. Split out from rust-lang#76130
bors
commented
Sep 22, 2020
⌛ Testing commit f5d71a9 with merge ef973518ed1c8cbc4316637c6e4e53741551406d... |
Don't use `zip` to compare iterators during pretty-print hack If the right-hand iterator has exactly one more element than the left-hand iterator, then both iterators will be fully consumed, but the extra element will never be compared. Split out from rust-lang#76130
ecstatic-morse
commented
Sep 22, 2020
@bors r- rollup Yield to rollup |
ecstatic-morse
commented
Sep 22, 2020
@bors r=lcnr |
bors
commented
Sep 22, 2020
📌 Commit f5d71a9 has been approved by |
…atic-morse Rollup of 13 pull requests Successful merges: - rust-lang#72734 (Reduce duplicate in liballoc reserve error handling) - rust-lang#76131 (Don't use `zip` to compare iterators during pretty-print hack) - rust-lang#76150 (Don't recommend ManuallyDrop to customize drop order) - rust-lang#76275 (Implementation of Write for some immutable ref structs) - rust-lang#76489 (Add explanation for E0756) - rust-lang#76581 (do not ICE on bound variables, return `TooGeneric` instead) - rust-lang#76655 (Make some methods of `Pin` unstable const) - rust-lang#76783 (Only get ImplKind::Impl once) - rust-lang#76807 (Use const-checking to forbid use of unstable features in const-stable functions) - rust-lang#76888 (use if let instead of single match arm expressions) - rust-lang#76914 (extend `Ty` and `TyCtxt` lints to self types) - rust-lang#77022 (Reduce boilerplate for BytePos and CharPos) - rust-lang#77032 (lint missing docs for extern items) Failed merges: r? `@ghost`
If the right-hand iterator has exactly one more element than the
left-hand iterator, then both iterators will be fully consumed, but
the extra element will never be compared.
Split out from #76130