about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-10 23:13:13 +0000
committerbors <bors@rust-lang.org>2020-04-10 23:13:13 +0000
commitf3634503587a1f4e3b34f96452163595f242f911 (patch)
tree92c7bd0dc5421811456169c6a18336cbfaddfc2d /src/libstd/sys/unix/stack_overflow.rs
parent14061868b3960d8a68a079bd276dde85936970ac (diff)
parentb6b00578dbd6ef6724b104160744339e9736fb1e (diff)
downloadrust-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/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions