about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2025-03-04 17:39:02 -0800
committerCelina G. Val <celinval@amazon.com>2025-03-04 17:46:40 -0800
commit4d75c4f8f3e2b186da379358b09f6c347657e1c2 (patch)
treeead43900d37f6d913ce0b84eb26a3391dd312d1b /compiler/rustc_mir_transform/src/coverage/query.rs
parentf9e0239a7bc813b4aceffc7f069f4797cde3175c (diff)
downloadrust-4d75c4f8f3e2b186da379358b09f6c347657e1c2.tar.gz
rust-4d75c4f8f3e2b186da379358b09f6c347657e1c2.zip
Make CrateItem::body() function return an option
When we initially created `CrateItem`, it would only represent items
that contain a body.

That is no longer the case, for now, make this explicit by expanding
the APIs to retrieve the item body.

This is related to https://github.com/rust-lang/project-stable-mir/issues/34
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions