rust/tests/ui/closures/2229_closure_analysis
bors 939786223f Auto merge of #112636 - clubby789:no-capture-array-ref, r=cjgillot
Don't capture `&[T; N]` when contents isn't read

Fixes the check in #111831
Fixes #112607, although I decided to test the root cause rather than including the example in the issue as a test.
cc `@BoxyUwU`
2023-06-18 15:48:08 +00:00
..
2023-05-29 18:37:53 +02:00
2023-05-29 18:37:53 +02:00