fn dump_filelines(filelines: &[Pos]) {
    // Skip top frame for MSVC, because it sees the macro rather than
    // the containing function.
    let skip = if cfg!(target_env = "msvc") {1} else {0};
    for &(file, line) in filelines.iter().rev().skip(skip) {
        // extract a basename
        let basename = file.split(&['/', '\\'][..]).last().unwrap();
        println!("{}:{}", basename, line);
    }
}
// this goes to stdout and each line has to be occurred
// in the following backtrace to stderr with a correct order.
this goes to stdout and each line has to be occurred
in the following backtrace to stderr with a correct order.
this goes to stdout and each line has to be occurred in the following backtrace to stderr with a correct order .
fn dump_filelines(filelines: &[Pos]) {
    // Skip top frame for MSVC, because it sees the macro rather than
    // the containing function.
    let skip = if cfg!(target_env = "msvc") {1} else {0};
    for &(file, line) in filelines.iter().rev().skip(skip) {
        // extract a basename
        let basename = file.split(&['/', '\\'][..]).last().unwrap();
        println!("{}:{}", basename, line);
    }
}
fn dump_filelines ( filelines : & [ Pos ] ) { // Skip top frame for MSVC, because it sees the macro rather than // the containing function. let skip = if cfg ! ( target_env " " ) { 1 } else { 0 } ; for & ( file , line ) in filelines . iter ( ) . rev ( ) . skip ( skip ) { // extract a basename let basename = file . split ( & [ '/' , '\\' ] [ .. ] ) . last ( ) . unwrap ( ) ; println ! ( " " basename line ) ; } }
this goes to stdout and each line has to be occurred
in the following backtrace to stderr with a correct order.
this goes to stdout and each line has to be occurred in the following backtrace to stderr with a correct order .
filelines
&[Pos]
filelines
&[Pos]