Rename test to unresolvable-upvar-issue-87987.rs and add some notes by Zalathar · Pull Request #135985 · rust-lang/rust (original) (raw)

You might be right, but one thing that makes me hesitant is that non-capturing array patterns have really bad test coverage in the test suite overall, in terms of invoking the later parts of the compiler.

So having this test run and not crash feels like it does provide some tiny bit of value? Not sure.