diff options
| author | bors <bors@rust-lang.org> | 2020-04-10 23:13:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-10 23:13:13 +0000 |
| commit | f3634503587a1f4e3b34f96452163595f242f911 (patch) | |
| tree | 92c7bd0dc5421811456169c6a18336cbfaddfc2d /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 14061868b3960d8a68a079bd276dde85936970ac (diff) | |
| parent | b6b00578dbd6ef6724b104160744339e9736fb1e (diff) | |
| download | rust-f3634503587a1f4e3b34f96452163595f242f911.tar.gz rust-f3634503587a1f4e3b34f96452163595f242f911.zip | |
Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb
rustc_middle: return `LocalDefId` where possible in hir::map module This changes the return type of the following functions to return a `LocalDefId` instead of a `DefId`: * opt_local_def_id_from_node_id * opt_local_def_id * body_owner_def_id * local_def_id_from_node_id * get_parent_id This is another step in the right direction for #70853 This pull request will be followed by another (substantial one) which changes the return type of `local_def_id` function but this change being more invasive, we might want to wait for #70956 or #70961 (or some other form it) to land first.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
