about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-11 15:05:25 -0800
committerNoah Lev <camelidcamel@gmail.com>2021-11-24 12:00:53 -0800
commit47266bacf1585ca290cd3baca214497adc200803 (patch)
tree1d2684aab3de61fe0291f78731b09c341aca90f9 /compiler/rustc_mir_transform/src/coverage/mod.rs
parent8a48b376d559f26a9b8fc1f1d597acb0bc0a51f9 (diff)
downloadrust-47266bacf1585ca290cd3baca214497adc200803.tar.gz
rust-47266bacf1585ca290cd3baca214497adc200803.zip
Return the actual `DefId` for assoc. items in `register_res`
Before, if `register_res` were called on an associated item or enum
variant, it would return the parent's `DefId`. Now, it returns the
actual `DefId`.

This change is a step toward removing `Type::ResolvedPath.did` and
potentially removing `kind_side_channel` in rustdoc. It also just
simplifies rustdoc's behavior.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions