Panic when creating function with 65536 or more arguments #88577
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-low
Low priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Obviously a corner case. This would never actually be used for anything, this is just testing the bounds of what the compiler is capable of.
Running this Ruby method with num_arguments 65535 or greater generates a Rust file which can be used to reproduce the output. (via
rustc --allow=dead_code test.rs
)Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: