-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Format string/argument mismatch triggers internal compiler error #81006
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Assigning |
It also breaks stable. Reduced:
|
JohnTitor
added a commit
to JohnTitor/glacier
that referenced
this issue
Jan 15, 2021
JohnTitor
added a commit
to JohnTitor/glacier
that referenced
this issue
Jan 15, 2021
Fix at #81071 |
m-ou-se
added a commit
to m-ou-se/rust
that referenced
this issue
Jan 16, 2021
rustc_parse_format: Fix character indices in find_skips Fixes rust-lang#81006
The fix is in, should we close this? |
The issue will be closed when the patch landed. |
m-ou-se
added a commit
to m-ou-se/rust
that referenced
this issue
Jan 17, 2021
rustc_parse_format: Fix character indices in find_skips Fixes rust-lang#81006
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
This is the smallest set of lines from the original source file (
main.rs
) successfully triggering the error. Please note the mismatch between the number of specifiers in the format string and arguments. It should obviously not compile, but I assume that it shouldn’t make rustc panic either.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: