Skip to content

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jul 12, 2013

This is just a followup to #7623 which adds some tests to the code in that PR (and picks out a bug). Only the final changeset in this series is new past that PR.

@graydon graydon closed this Jul 16, 2013
@graydon graydon deleted the test-for-test-ratchet branch July 16, 2013 16:45
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 7, 2021
Make if_then_else handle situation of cond.kind = ExprKind::DropTemps(ExprKind::Binary(BinOpKind::And || BinOpKind::Or, left, right), ..) =
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 7, 2021
Make if_then_panic handle situation of BinOpKind::And || BinOpKind::Or

fixes rust-lang#7731

Make if_then_panic handle situation of cond.kind = ExprKind::DropTemps(ExprKind::Binary(BinOpKind::And || BinOpKind::Or, left, right), ..) =

changelog: [`if_then_panic`] Fix suggestion for more complex conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants