about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Collapse)AuthorLines
2023-05-10refactor(resolve): clean up the early error return caused by non-callbohan-6/+9
2023-05-05tweak spans for `ref mut` suggestionEzra Shaw-2/+2
2023-05-01fix testsyukang-9/+6
2023-05-01Rip it outNilstrieb-15/+13
My type ascription Oh rip it out Ah If you think we live too much then You can sacrifice diagnostics Don't mix your garbage Into my syntax So many weird hacks keep diagnostics alive Yet I don't even step outside So many bad diagnostics keep tyasc alive Yet tyasc doesn't even bother to survive!
2023-04-21Run `check_match` and `check_liveness` when MIR is built instead of having ↵Oli Scherer-207/+207
an explicit phase for them
2023-04-03Reinstate confusion note.Camille GILLOT-0/+4
2023-04-03Perform match checking on THIR.Camille GILLOT-179/+179
2023-04-03Shrink binding span.Camille GILLOT-413/+273
2023-03-27Add notes to non-structural const in pattern error messageJamen Marz-0/+32
2023-03-15error-msg: impl better suggestion for `E0532`Ezra Shaw-0/+136
2023-03-13resolve: Remove `struct_field_names_untracked`Vadim Petrochenkov-2/+2
2023-01-30Modify primary span label for E0308Esteban Küber-12/+12
The previous output was unintuitive to users.
2023-01-26Rollup merge of #106978 - mejrs:mir_build3, r=davidtwcoMatthias Krüger-208/+208
Migrate mir_build's borrow conflicts This also changes the error message slightly, for two reasons: - I'm not a fan of saying "value borrowed, by `x`, here" - it simplifies the error implementation significantly.
2023-01-25Rollup merge of #106897 - estebank:issue-99430, r=davidtwcoMatthias Krüger-0/+2
Tweak E0597 CC #99430
2023-01-20Change `bindings_with_variant_name` to deny-by-default--global-29/+27
2023-01-17Migrate mir_build's borrow conflictsmejrs-208/+208
2023-01-15Tweak E0597Esteban Küber-0/+2
CC #99430
2023-01-14suggest fix for attempted integer identifier in patternsEzra Shaw-0/+42
2023-01-11Translate `Overlap` eagerlymejrs-0/+1
2023-01-11Don't recommend `if let` if `let else` worksmejrs-10/+2
2023-01-11Migrate pattern matchingmejrs-59/+65
2023-01-11Migrate deconstruct_pat.rsmejrs-1/+0
2023-01-11Move /src/test to /testsAlbert Larsan-0/+14295