Dont ICE when computing coverage of synthetic async closure body
This commit is contained in:
parent
e7c0d27507
commit
cdbf28af76
7 changed files with 102 additions and 19 deletions
|
@ -569,6 +569,7 @@ rustc_queries! {
|
|||
/// either `#[coverage(on)]` or no coverage attribute was found.
|
||||
query coverage_attr_on(key: LocalDefId) -> bool {
|
||||
desc { |tcx| "checking for `#[coverage(..)]` on `{}`", tcx.def_path_str(key) }
|
||||
feedable
|
||||
}
|
||||
|
||||
/// Summarizes coverage IDs inserted by the `InstrumentCoverage` MIR pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue