about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/enum-option.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-04 01:06:25 +0000
committerbors <bors@rust-lang.org>2019-02-04 01:06:25 +0000
commit4314dbaa761d463d136592ab7fc9cdae46c8cc2a (patch)
tree29094006de0a323d69e8279b96b1237b1445351c /src/test/rustdoc-js-std/enum-option.js
parentf6fac4225f4ea4881e9146f0a14f2cd36b8ac22f (diff)
parent272f4dfff6d0a6ae172e3efbef7d563ea088f6fd (diff)
downloadrust-4314dbaa761d463d136592ab7fc9cdae46c8cc2a.tar.gz
rust-4314dbaa761d463d136592ab7fc9cdae46c8cc2a.zip
Auto merge of #58090 - ljedrz:HirIdification_phase_2, r=Zoxc
HirIdification: add key HirId methods

This is another PR in a series dedicated to `HirId`-ification, i.e. deprecating `ast::NodeId`s after the AST > HIR lowering process. The bigger proof of concept can be seen in #57578.

**Phase 2**: add key `HirId` methods mirroring the `NodeId` ones.

These should be counterparts of the most widely used `Hir` methods using `NodeId`s. Note that this expands `hir::map::Definitions` with an additional `hir_to_def_index` map (with the intention of later removing `node_to_def_index`).

As a bonus there is also a small cleanup commit removing unnecessary calls to `node_to_hir_id` where `HirId` is already available.

r? @Zoxc
Cc @varkor
Diffstat (limited to 'src/test/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions