about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-28 06:36:35 +0000
committerbors <bors@rust-lang.org>2023-03-28 06:36:35 +0000
commitf73510560f93262ad2e375d63b526af37aa3ae48 (patch)
treeeedcb600582f950b41f13629d175bb0119bc3eda /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
parenta869ca3c29c19c7467864fc44a28877610433afe (diff)
parent342fd2b9f372888b069738eec1690d0661787a90 (diff)
downloadrust-f73510560f93262ad2e375d63b526af37aa3ae48.tar.gz
rust-f73510560f93262ad2e375d63b526af37aa3ae48.zip
Auto merge of #14424 - Veykril:local-trait-impls, r=Veykril
fix: Properly handle local trait impls

Before we only handled trait impls that came from the block of either the trait or the target type, we now handle them correctly by tracking the block we are currently inferring from, then walking that up to collect all block trait impls.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions