-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Panic in escape_ascii().len() #99878
Comments
Nominating for discussion whether the stabilization should be reverted, the crater run should be expedited and perhaps beta-backported. |
I would prefer stabilization to be reverted as there is additional book-keeping required to implement |
We discussed this briefly in the libs-api meeting last week. Reverting it seems okay, even though it's technically a breaking change. It seems like nothing relies on it, as they would have gotten panics anyway. The crater run seems to confirm that. |
Thanks for getting the fix for this merged everybody. |
I tried this code:
I expected the length of the
escape_ascii
iterator. Instead, panic:Meta
My first suspicion would be the size_hint() on the iterator. It also happens in no_std.
Stacktrace:
The text was updated successfully, but these errors were encountered: