rust/compiler/rustc_mir_transform/src/coverage
León Orell Valerian Liehr 3053ced813
Rollup merge of #119444 - compiler-errors:closure-or-coroutine, r=oli-obk
Rename `TyCtxt::is_closure` to `TyCtxt::is_closure_or_coroutine`

This function has always been used to test whether the def-id was a closure **or** coroutine: https://github.com/rust-lang/rust/pull/118311/files#diff-69ebec59f7d38331dd1be84ede7957977dcaa39e30ed2869b04aa8c99b2079ccR552 -- the name is just confusing because it disagrees with other fns named `is_closure`, like `Ty::is_closure`.

So let's rename it.
2024-01-03 16:08:26 +01:00
..
spans is_coroutine -> is_coroutine_or_closure 2023-12-30 15:24:15 +00:00
counters.rs coverage: Make coverage_counters a local variable 2023-12-30 22:36:11 +11:00
graph.rs coverage: Assert that bcb0 starts with bb0 and has no in-edges 2023-11-25 12:29:21 +11:00
mod.rs Rollup merge of #119444 - compiler-errors:closure-or-coroutine, r=oli-obk 2024-01-03 16:08:26 +01:00
query.rs remove redundant imports 2023-12-10 10:56:22 +08:00
spans.rs coverage: Prepare mappings separately from injecting statements 2023-12-30 22:34:15 +11:00
tests.rs coverage: Make coverage_counters a local variable 2023-12-30 22:36:11 +11:00