File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tests/ui/closures/2229_closure_analysis Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,6 @@ ui/closure_context/issue-26046-fn-once.rs
409409ui/closure_context/issue-42065.rs
410410ui/closures/2229_closure_analysis/issue-118144.rs
411411ui/closures/2229_closure_analysis/issue-87378.rs
412- ui/closures/2229_closure_analysis/issue-87987.rs
413412ui/closures/2229_closure_analysis/issue-88118-2.rs
414413ui/closures/2229_closure_analysis/issue-88476.rs
415414ui/closures/2229_closure_analysis/issue-89606.rs
Original file line number Diff line number Diff line change 1+ //! When a closure syntactically captures a place, but doesn't actually capture
2+ //! it, make sure MIR building doesn't ICE when handling that place.
3+ //!
4+ //! Under the Rust 2021 disjoint capture rules, this sort of non-capture can
5+ //! occur when a place is only inspected by infallible non-binding patterns.
6+
17//@ run-pass
28//@ edition:2021
39
You can’t perform that action at this time.
0 commit comments