about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-21 12:40:29 +0000
committerbors <bors@rust-lang.org>2023-05-21 12:40:29 +0000
commit7ac161ce77dfa31dc39337c2543a1d777e70c16e (patch)
treeb25477f1987e18f486757c08eae51702ef35be33 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parenta04d8456be1d289c814846178cc1ff63b4fc297b (diff)
parent7b70988d48373f6d43874346c1cbcd15712a88c7 (diff)
downloadrust-7ac161ce77dfa31dc39337c2543a1d777e70c16e.tar.gz
rust-7ac161ce77dfa31dc39337c2543a1d777e70c16e.zip
Auto merge of #14863 - lowr:fix/extract-fn-nested-tt, r=lnicola
fix: consider all tokens in macro expr when analyzing locals

Fixes #14687

2 fixes for `extract_function` assist (related closely enough that I squashed into one commit):

- Locals in macro expressions have been analyzed only when they are in the top-level token tree the macro call wraps. We should consider all descendant tokens.
- `self` in macro expressions haven't been analyzed.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions