about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-15 14:43:45 +0000
committerbors <bors@rust-lang.org>2022-01-15 14:43:45 +0000
commitec4bcaac450279b029f3480b8b8f1b82ab36a5eb (patch)
tree7868ce973b848dee601867b72239114eb6225c22 /src/librustdoc/html/static/js/source-script.js
parentb13a5bf3c4d66ce375f5978c2c2233f9714b721e (diff)
parent441c1a6c50cab4b010d03ceb9a7b616487720b1f (diff)
downloadrust-ec4bcaac450279b029f3480b8b8f1b82ab36a5eb.tar.gz
rust-ec4bcaac450279b029f3480b8b8f1b82ab36a5eb.zip
Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasper
Link impl items to corresponding trait items in late resolver.

Hygienically linking trait impl items to declarations in the trait can be done directly by the late resolver. In fact, it is already done to diagnose unknown items.

This PR uses this resolution work and stores the `DefId` of the trait item in the HIR. This avoids having to do this resolution manually later.

r? `@matthewjasper`
Related to #90639. The added `trait_item_id` field can be moved to `ImplItemRef` to be used directly by your PR.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions