diff options
| author | bors <bors@rust-lang.org> | 2020-04-09 23:22:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-09 23:22:23 +0000 |
| commit | 0c835b0cca83fe21090562603e4bda77c183ace3 (patch) | |
| tree | 81756b7fecd9051411eede60a710a041ab54ceb4 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 94d346360da50f159e0dc777dc9bc3c5b6b51a00 (diff) | |
| parent | 6ae3888b19e40e9c4761c1a443d77eba63e94840 (diff) | |
| download | rust-0c835b0cca83fe21090562603e4bda77c183ace3.tar.gz rust-0c835b0cca83fe21090562603e4bda77c183ace3.zip | |
Auto merge of #70909 - marmeladema:issue70853/librustc_hir-local-def-id, r=eddyb
librustc_hir: return LocalDefId instead of DefId in local_def_id Its a first try to remove a few calls to `expect_local` and use `LocalDefId` instead of `DefId` where possible for #70853 This adds some calls to `.to_def_id()` to get a `DefId` back when needed. I don't know if I should push `LocalDefId` even further and change, for example, `Res::Def` to accept a `LocalDefId` instead of a `DefId` as second argument. cc @ecstatic-morse
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
