Closed
Description
This is the most annoying and most useless error message ever if you don't know how to get a backtrace. The docs should state how to get one. Without a backtrace it's only helpful if you already know where the error isn't always the case.
This:
vec![1, 2][7];
Returns:
thread '<main>' panicked at 'index out of bounds: the len is 2 but the index is 7', /home/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcollections/vec.rs:1359
playpen: application terminated with error code 101
Metadata
Metadata
Assignees
Labels
No labels