Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: Improve handling of function/closure spans #120569

Merged
merged 5 commits into from
Feb 5, 2024

Commits on Feb 4, 2024

  1. Configuration menu
    Copy the full SHA
    fe420dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dd2b37 View commit details
    Browse the repository at this point in the history
  3. coverage: Make unexpansion of closure bodies more precise

    This improves the coverage instrumentation of closures declared in macros, as
    seen in `closure_macro.rs` and `closure_macro_async.rs`.
    Zalathar committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    dd6d7f2 View commit details
    Browse the repository at this point in the history
  4. coverage: Hoist special handling of async function spans

    This sidesteps the normal span refinement code in cases where we know that we
    are only dealing with the special signature span that represents having called
    an async function.
    Zalathar committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    fde1702 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a246b6b View commit details
    Browse the repository at this point in the history