rust/tests/ui/closures/2229_closure_analysis
Matthias Krüger 40d933a19a
Rollup merge of #108705 - clubby789:refutable-let-closure-borrow, r=cjgillot
Prevent ICE with broken borrow in closure

r? `@Nilstrieb`
Fixes #108683

This solution isn't ideal, I'm hoping to find a way to continue compilation without ICEing.
2023-05-11 07:05:26 +02:00
..
diagnostics tweak "make mut" spans when assigning to locals 2023-05-05 22:40:04 +12:00
match Run check_match and check_liveness when MIR is built instead of having an explicit phase for them 2023-04-21 22:32:38 +00:00
migrations Fix unintentional UB in ui tests 2023-02-15 09:05:05 -05:00
optimization
run_pass Test precise capture with a multi-variant enum and exhaustive patterns 2023-04-30 20:24:10 +02:00
array_subslice.rs Fix subslice capture in closure 2023-03-27 22:26:30 +01:00
array_subslice.stderr Fix subslice capture in closure 2023-03-27 22:26:30 +01:00
arrays-completely-captured.rs
arrays-completely-captured.stderr
bad-pattern.rs Bail out of MIR construction if check_match fails 2023-04-30 19:17:40 +01:00
bad-pattern.stderr Bail out of MIR construction if check_match fails 2023-04-30 19:17:40 +01:00
by_value.rs
by_value.stderr
capture-analysis-1.rs
capture-analysis-1.stderr
capture-analysis-2.rs
capture-analysis-2.stderr
capture-analysis-3.rs
capture-analysis-3.stderr
capture-analysis-4.rs
capture-analysis-4.stderr
capture-disjoint-field-struct.rs
capture-disjoint-field-struct.stderr
capture-disjoint-field-tuple.rs
capture-disjoint-field-tuple.stderr
capture-enum-field.rs
capture-enums.rs
capture-enums.stderr
deep-multilevel-struct.rs
deep-multilevel-struct.stderr
deep-multilevel-tuple.rs
deep-multilevel-tuple.stderr
destructure_patterns.rs
destructure_patterns.stderr
feature-gate-capture_disjoint_fields.rs
feature-gate-capture_disjoint_fields.stderr
filter-on-struct-member.rs
filter-on-struct-member.stderr
issue_88118.rs Remove the capture_disjoint_fields feature 2023-02-28 01:21:15 +00:00
issue-87378.rs
issue-87378.stderr
issue-87987.rs
issue-87987.stderr
issue-88118-2.rs
issue-88118-2.stderr
issue-88476.rs
issue-88476.stderr
issue-89606.rs
issue-90465.fixed
issue-90465.rs
issue-90465.stderr
issue-92724-needsdrop-query-cycle.rs
move_closure.rs
move_closure.stderr
multilevel-path-1.rs
multilevel-path-1.stderr
multilevel-path-2.rs
multilevel-path-2.stderr
nested-closure.rs
nested-closure.stderr
path-with-array-access.rs
path-with-array-access.stderr
preserve_field_drop_order2.rs
preserve_field_drop_order2.twenty_eighteen.run.stdout
preserve_field_drop_order2.twenty_twentyone.run.stdout
preserve_field_drop_order.rs
preserve_field_drop_order.stderr
repr_packed.rs
repr_packed.stderr
simple-struct-min-capture.rs
simple-struct-min-capture.stderr
unsafe_ptr.rs
unsafe_ptr.stderr
wild_patterns.rs
wild_patterns.stderr