-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
char::from_u32_unchecked
panics at runtime in 1.78.0
but works in 1.77.1
#124922
Labels
C-bug
Category: This is a bug.
Comments
bvanjoi
added
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
labels
May 9, 2024
rustbot
added
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
May 9, 2024
I think this is expected, it was in the compatibility notes of Rust 1.78:
|
@Urgau Thanks for the quick reply! I think we can close this issue. |
jieyouxu
removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
regression-untriaged
Untriaged performance or correctness regression.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
May 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code
I tried this code:
I expected to see this happen: run success.
Instead, this happened: panic at runtime and report "invalid value for
char
"Version it worked on
It most recently worked on: 1.77.1
Version with regression
rustc --version --verbose
:Backtrace
Backtrace
The text was updated successfully, but these errors were encountered: