Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a vec/str bounds check fails, include the bad index and the length of the str/vec in the fail message. #3629

Closed
wants to merge 1 commit into from

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Sep 29, 2012

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.

@brson
Copy link
Contributor

brson commented Sep 30, 2012

Thanks! Merged.

@brson brson closed this Sep 30, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 9, 2024
solarish platform: add support for available-parallelism.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants