Port backtrace's line-tables-only test over to rustc
#122918
Merged
line-tables-only test over to rustc
#122918