about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-03-31 22:32:49 +0200
committerGitHub <noreply@github.com>2023-03-31 22:32:49 +0200
commit45fcb6fd7c51ebe44e430d4fa7f628d436547719 (patch)
tree8e49680979ccf4ee5558cdd2aace769fd833b119 /compiler/rustc_codegen_llvm/src
parent6c93c63771be17303b795e51cf3d1fa8d8cb6726 (diff)
parentf995003ec5053c85efca895d0506392d3be88286 (diff)
downloadrust-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