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

Report error locus within instrumented code #170

Merged
merged 6 commits into from
Jan 10, 2024
Merged

Report error locus within instrumented code #170

merged 6 commits into from
Jan 10, 2024

Commits on Jan 4, 2024

  1. Add failing locus test

    gagbo committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    42dcdb6 View commit details
    Browse the repository at this point in the history
  2. Let rust parse impl automatically

    Letting Rust parse the impl block allows us to keep the same TokenStream as input in the autometrics macro code, even when async_trait is involved.
    
    Keeping the original TokenStream keeps the Span information in method/function bodies so error reporting in instrumented code is not absorbed in "#[autometrics]" span.
    
    This also simplifies the parsing code a little bit.
    gagbo committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    1b8382d View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG

    gagbo committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    63a5e15 View commit details
    Browse the repository at this point in the history
  4. Add output for failing tests

    gagbo committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d4d59fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    110834a View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Review

    Gather all trybuild tests
    
    Remove extra println used in failing tests
    gagbo committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    6e27987 View commit details
    Browse the repository at this point in the history