-
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
Format string/argument mismatch triggers internal compiler error #81006
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
illdefined
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Jan 14, 2021
jonas-schievink
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Jan 14, 2021
apiraino
added
P-medium
Medium priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Jan 14, 2021
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 |
osa1
added a commit
to osa1/rust
that referenced
this issue
Jan 16, 2021
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: