diff options
| author | bors <bors@rust-lang.org> | 2022-06-11 20:08:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-11 20:08:48 +0000 |
| commit | 99930ac7f8cbb5d9b319b2e2e92794fd6f24f556 (patch) | |
| tree | 0e19dae48348252b6fd12d3ddb97044d51002205 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | c08b235a5ce10167632bb0fddcd0c5d67f2d42e3 (diff) | |
| parent | 1a881a487b3f217bb1e47a8a16925ca519051583 (diff) | |
| download | rust-99930ac7f8cbb5d9b319b2e2e92794fd6f24f556.tar.gz rust-99930ac7f8cbb5d9b319b2e2e92794fd6f24f556.zip | |
Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov
Handle `def_ident_span` like `def_span`. `def_ident_span` had an ad-hoc status in the compiler. This PR refactors it to be a first-class citizen like `def_span`: - it gets encoded in the main metadata loop, instead of the visitor; - its implementation is updated to mirror the one of `def_span`. We do not remove the `Option` in the return type, since some items do not have an ident, AnonConsts for instance.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
