about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-04 18:26:43 +0000
committerbors <bors@rust-lang.org>2022-10-04 18:26:43 +0000
commit476d0438749e3a5b2669811f9429da79a6628e8a (patch)
treeced79f86e6d8016d2e22dbe5043ba6e71422899b /compiler/rustc_mir_transform/src/coverage/debug.rs
parentb429df2653bd209e27619cebe1f6ce6a5477142a (diff)
parentded3326a64c2ef220f3cec9af863f738749d6ce2 (diff)
downloadrust-476d0438749e3a5b2669811f9429da79a6628e8a.tar.gz
rust-476d0438749e3a5b2669811f9429da79a6628e8a.zip
Auto merge of #13344 - lowr:patch/change-generic-param-order, r=Veykril
fix: use `BoundVar`s from current generic scope

Fixup for #13335, addresses https://github.com/rust-lang/rust-analyzer/pull/13339#issuecomment-1266654607

Before the change in generic parameter order, `BoundVar`s for trait reference didn't change whether you are in an impl's scope or in an associated item's scope. Now that item's generic params come before its parent's, we need to shift their indices when we are in an associated item's scope.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions