-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: invalid format num
when println! with multiple unused formatting arguments(format_args_implicits)
#125002
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
Comments
Minimized code that causes ICE (Note: fn main() {
println!("%100000", 1);
} playground link (stable rust, version 1.78.0) Error output
For context, this code with fn main() {
println!("%65535", 1);
}
|
Relevant line of code:
|
emit compile error
ICE
rust/compiler/rustc_builtin_macros/src/format_foreign.rs Lines 409 to 428 in ef15976
possible patch is Num::from_str return Option |
Uh oh!
There was an error while loading. Please reload this page.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: