Skip to content

Commit 5d60610

Browse files
committed
Note why this test is still run-pass, at least for now
1 parent 19c9ccd commit 5d60610

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ui/closures/2229_closure_analysis/unresolvable-upvar-issue-87987.rs

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
//! Under the Rust 2021 disjoint capture rules, this sort of non-capture can
55
//! occur when a place is only inspected by infallible non-binding patterns.
66
7+
// FIXME(#135985): On its own, this test should probably just be check-pass.
8+
// But there are few/no other tests that use non-binding array patterns and
9+
// invoke the later parts of the compiler, so building/running has some value.
10+
711
//@ run-pass
812
//@ edition:2021
913

0 commit comments

Comments
 (0)