summary refs log tree commit diff
path: root/src/test/ui/let-else
AgeCommit message (Collapse)AuthorLines
2021-10-18Rollup merge of #89974 - est31:let_else_if_error, r=nagisaMatthias Krüger-0/+28
Nicer error message if the user attempts to do let...else if Gives a nice "conditional `else if` is not supported for `let...else`" error when encountering a `let...else if` pattern, as suggested in the [let...else tracking issue](https://github.com/rust-lang/rust/issues/87335#issuecomment-944846205).
2021-10-18Rollup merge of #89965 - JohnTitor:fix-let-else-ice-with-ref-mut, r=petrochenkovMatthias Krüger-0/+19
Fix ICE with `let...else` and `ref mut` Fixes #89960, opened for review. I'm not satisfied with the current diagnostics, any ideas?
2021-10-17Nicer error message if the user attempts to do let...else ifest31-0/+28
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-6/+6
2021-10-17Fix ICE with `let...else` and `ref mut`Yuki Okushi-0/+19
2021-08-30Add let-else testsCameron Steffen-0/+322