need name of two function calls up the stack
This commit is contained in:
parent
3ec1aa44e9
commit
773ac96b0f
|
@ -119,7 +119,7 @@ fn previous_symbol(level: u32) -> Option<BacktraceSymbol> {
|
||||||
|
|
||||||
impl From<FileStatus> for String {
|
impl From<FileStatus> for String {
|
||||||
fn from(f: FileStatus) -> String {
|
fn from(f: FileStatus) -> String {
|
||||||
let sym = previous_symbol(1);
|
let sym = previous_symbol(2);
|
||||||
let filename = sym
|
let filename = sym
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.and_then(BacktraceSymbol::filename)
|
.and_then(BacktraceSymbol::filename)
|
||||||
|
|
Loading…
Reference in a new issue