2 ms·
Look closer. The only ones with line numbers are library code handling the panic. None of the actual user code has line numbers or even the file name, just a
by Sohcahtoa82 6y ago
Look closer.
The only ones with line numbers are library code handling the panic. None of the actual user code has line numbers or even the file name, just a function name.
- steveklabnik 6y agosrc\main.rs:104:17 is.
- Sohcahtoa82 6y agoOh, so you're right. There it is right at the very top of the error. So why couldn't the trace include that in that in the body?
- steveklabnik 6y agoBecause the backtrace is optional, the formatting is consistent with it and without it; you get that line no matter what.