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

Depend on a recent-enough version of backtrace #155

Merged
merged 1 commit into from Jun 10, 2021

Commits on Jun 10, 2021

  1. Depend on a recent-enough version of backtrace

    If backtrace v0.3.50 or earlier is used, the following compile errors result:
    
    ```
    error[E0599]: no method named `print_raw_with_column` found for struct `BacktraceFrameFmt<'_, '_, '_>` in the current scope
       --> /Users/john/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/backtrace.rs:284:27
        |
    284 |                         f.print_raw_with_column(
        |                           ^^^^^^^^^^^^^^^^^^^^^ method not found in `BacktraceFrameFmt<'_, '_, '_>`
    
    error[E0599]: no method named `colno` found for reference `&Symbol` in the current scope
       --> /Users/john/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/backtrace.rs:353:39
        |
    353 |                         colno: symbol.colno(),
        |                                       ^^^^^ method not found in `&Symbol`
    
    ```
    
    `print_raw_with_column` and `colno` were added in [this PR](rust-lang/backtrace-rs@4b8f2be), and the earliest backtrace version they are available in is 0.3.51.
    jfirebaugh committed Jun 10, 2021
    Copy the full SHA
    254c3b6 View commit details
    Browse the repository at this point in the history