test(patterns): add patterns feature tests to borrowck test suite by thekuom · Pull Request #69817 · rust-lang/rust (original) (raw)

@thekuom Ah, sorry; it seems I was unclear. There are already a bunch of borrowck tests in src/test/ui/pattern/bindings-after-at/ which I introduced in #66296 and amended in #68376. What's missing is the combination of these features interacting together in borrowck, e.g. tests that use all 4 of nested or-patterns, bindings_after_at, slice_patterns, box_patterns all at the same time.