The output of
cargo test looks like this:
src/filters/path.rs - filters::path::end (line 288)
The line number is on the right, far away from the file name.
VSCode can use output text to make it clickable to jump to the file and line number if the syntax is like this:
Could Doc-tests output be rearranged to have clickable Line numbers?
src/filters/path.rs:288:5 - filters::path::end