File tree 2 files changed +6
-1
lines changed
tests/ui/closures/2229_closure_analysis 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
409
409
ui/closure_context/issue-42065.rs
410
410
ui/closures/2229_closure_analysis/issue-118144.rs
411
411
ui/closures/2229_closure_analysis/issue-87378.rs
412
- ui/closures/2229_closure_analysis/issue-87987.rs
413
412
ui/closures/2229_closure_analysis/issue-88118-2.rs
414
413
ui/closures/2229_closure_analysis/issue-88476.rs
415
414
ui/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
+
1
7
//@ run-pass
2
8
//@ edition:2021
3
9
You can’t perform that action at this time.
0 commit comments