I tried compiling this crate and encountered the following compilation error:
error[E0599]: no method named `colno` found for reference `&BacktraceSymbol` in the current scope
--> /home/pierre/.cargo/registry/src/github.com-1ecc6299db9ec823/dhat-0.2.1/src/lib.rs:483:40
|
483 | ... symbol.colno().unwrap_or(0),
| ^^^^^ method not found in `&BacktraceSymbol`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: could not compile `dhat`
It turns out that backtrace version 0.3.50 indeed didn't include any colno() method. More recent versions do. Running cargo update -p backtrace fixed the error.
Since it took me a few minutes to investigate the problem, this PR saves this from other people.
I tried compiling this crate and encountered the following compilation error:
It turns out that
backtrace
version 0.3.50 indeed didn't include anycolno()
method. More recent versions do. Runningcargo update -p backtrace
fixed the error. Since it took me a few minutes to investigate the problem, this PR saves this from other people.