| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-01 | Fix drop handling for `if let` expressions | Matthew Jasper | -24/+24 | |
| MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables. | ||||
| 2021-08-25 | Fix debugger stepping behavior around `match` expressions | Wesley Wiser | -3/+3 | |
| Previously, we would set up the source lines for `match` expressions so that the code generated to perform the test of the scrutinee was matched to the line of the arm that required the test and then jump from the arm block to the "next" block was matched to all of the lines in the `match` expression. While that makes sense, it has the side effect of causing strange stepping behavior in debuggers. I've changed the source information so that all of the generated tests are sourced to `match {scrutinee}` and the jumps are sourced to the last line of the block they are inside. This resolves the weird stepping behavior in all debuggers and resolves some instances of "ambiguous symbol" errors in WinDbg preventing the user from setting breakpoints at `match` expressions. | ||||
| 2021-08-15 | Introduce hir::ExprKind::Let - Take 2 | Caio | -9/+9 | |
| 2021-07-27 | Update tests | Jacob Pratt | -42/+40 | |
| 2021-05-17 | mir-opt bless for Size field being removed from Allocation | Ralf Jung | -2/+2 | |
| 2021-03-19 | update tests | mark | -40/+39 | |
| 2021-03-06 | Disable destination propagation on all mir-opt-levels | Tomasz Miąsko | -33/+46 | |
| 2021-03-05 | Bump mir-opt-level from 2 to 3 in tests | Santiago Pastorino | -1/+1 | |
| 2021-02-21 | Make MatchBranchSimplification clean up after itself | Simon Vandel Sillesen | -37/+33 | |
| 2021-01-15 | Add test for #59352 | Dániel Buga | -0/+121 | |
| 2020-09-04 | Add test for checking if-let or-patterns | kadmin | -0/+108 | |
