4 ms·
The majority of those lines are including the function name, the file name, and the line number.
by steveklabnik 6y ago
The majority of those lines are including the function name, the file name, and the line number.
- Sohcahtoa82 6y agoLook 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.