diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-03-31 22:32:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-31 22:32:49 +0200 |
| commit | 45fcb6fd7c51ebe44e430d4fa7f628d436547719 (patch) | |
| tree | 8e49680979ccf4ee5558cdd2aace769fd833b119 /compiler/rustc_codegen_llvm/src | |
| parent | 6c93c63771be17303b795e51cf3d1fa8d8cb6726 (diff) | |
| parent | f995003ec5053c85efca895d0506392d3be88286 (diff) | |
| download | rust-45fcb6fd7c51ebe44e430d4fa7f628d436547719.tar.gz rust-45fcb6fd7c51ebe44e430d4fa7f628d436547719.zip | |
Rollup merge of #109680 - clubby789:array-subslice-2229, r=davidtwco
Fix subslice capture in closure Fixes #109298 by refining captures in the same way for Subslices and Indexes. The comment `// we never capture this` seems to have been inaccurate, as changing it to an assert causes many test failures `@rustbot` label +A-closures
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
