We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c9ccd commit 5d60610Copy full SHA for 5d60610
tests/ui/closures/2229_closure_analysis/unresolvable-upvar-issue-87987.rs
@@ -4,6 +4,10 @@
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
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
+
11
//@ run-pass
12
//@ edition:2021
13
0 commit comments