Backslash at the end of line followed by \n on the next line in a print! or println! macro crashes rustc #83708
Labels
C-bug
Category: This is a bug.
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 fails to compile using both println!() and print():
This does not panic the compiler but correctly gives an error that the number of arguments are incorrect:
Meta
Stable, nightly, and beta fail with the same error.
rustc --version --verbose
:Error output
Stable Backtrace
Nightly Backtrace
Beta Backtrace
The text was updated successfully, but these errors were encountered: