about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-17 10:39:19 +0000
committerGitHub <noreply@github.com>2021-11-17 10:39:19 +0000
commite051ae8f195c70e558a1fe6ca4d8b551735165b2 (patch)
tree317e8a682aad75cfaa30dea30161bb14884f472e /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentadd6cccd4c923fbb5c83cc27b06aa84b2cbc9557 (diff)
parent1f1682ee1ec7c90879113022ca970b5086b6a44b (diff)
downloadrust-e051ae8f195c70e558a1fe6ca4d8b551735165b2.tar.gz
rust-e051ae8f195c70e558a1fe6ca4d8b551735165b2.zip
Merge #10786
10786: minor: remove duplicate calls r=Veykril a=XFFXFF

`scopes.set_scope(*expr, scope)` is duplicate, because we always call it in `compute_expr_scopes`  https://github.com/rust-analyzer/rust-analyzer/blob/add6cccd4c923fbb5c83cc27b06aa84b2cbc9557/crates/hir_def/src/body/scope.rs#L175-L180

Co-authored-by: zhoufan <1247714429@qq.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions