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-02-27 08:40:39 +0000
committerbors <bors@rust-lang.org>2023-02-27 08:40:39 +0000
commit2e479158bbd89f191dfc86a93c27063b064be25f (patch)
tree9b7673349be5c40d29005ac7ef33a5fd2c33e0db /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent4e29820f6d9880606a403e7bec6e91312e7f0575 (diff)
parentaa877645a6d5b16884fe1bd553d6f5ca921ea102 (diff)
downloadrust-2e479158bbd89f191dfc86a93c27063b064be25f.tar.gz
rust-2e479158bbd89f191dfc86a93c27063b064be25f.zip
Auto merge of #14208 - Kohei316:master, r=Veykril
fix:add a case in which remainig is None in resolveing types when resolving hir path.

fix #14030 The variable type is being determined incorrectly
This PR fixed a problem in which `go to definition` is jumping to the incorrect position because it was failing to resolve the type in case it defined in the module when resolving hir.
In addition, I added a test for this issue and refactored the related code.
This is my first PR and I am using a translation tool to write this text. Let me know if you have any problems.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions