mozilla/rust — pull request #3629 by Dretch (2012-09-29 11:41:38+00:00)
Title: When a vec/str bounds check fails, include the bad index and the length of the str/vec in the fail message.

It is useful to have this information when debugging (the existing error message does not include it).

I guess it probably slightly increases the size of the bounds-check error handling code though.