coverage: Apply #[coverage(..)]
recursively to nested functions
This commit is contained in:
parent
457fda1701
commit
3262611cc5
8 changed files with 60 additions and 156 deletions
|
@ -572,7 +572,8 @@ rustc_queries! {
|
|||
separate_provide_extern
|
||||
}
|
||||
|
||||
/// Checks for `#[coverage(off)]` or `#[coverage(on)]`.
|
||||
/// Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on
|
||||
/// this def and any enclosing defs, up to the crate root.
|
||||
///
|
||||
/// Returns `false` if `#[coverage(off)]` was found, or `true` if
|
||||
/// either `#[coverage(on)]` or no coverage attribute was found.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue