about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/query.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-25 11:58:51 +0000
committerbors <bors@rust-lang.org>2020-10-25 11:58:51 +0000
commit9c9aa2db52dd4d031cb55412771fdba57b52e2c0 (patch)
tree72485386d2b951819fc722c25b274491b3f617ad /compiler/rustc_mir/src/transform/coverage/query.rs
parent718bb28f68bf1b693a6e3f1abd36360926a5707c (diff)
parentd5713898acd3e9afe04223522aad50c9da8f05e2 (diff)
downloadrust-9c9aa2db52dd4d031cb55412771fdba57b52e2c0.tar.gz
rust-9c9aa2db52dd4d031cb55412771fdba57b52e2c0.zip
Auto merge of #6222 - JohnTitor:redundant-local-def-id, r=flip1995
Remove redundant `expect_local()` call

The field `owner` of `HirId` is `LocalDefId` and `hir_id.owner.to_def_id().expect_local()` is redundant. I wonder they were introduced in some rustups.

changelog: none
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions