-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE: assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32 #83340
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
L3afMe
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
Mar 21, 2021
Smaller repro: fn main() {
println!(
"\
\n {} │",
);
} |
@rustbot claim PR coming. |
This was referenced Mar 21, 2021
This revealed another bug (#83344). When both are fixed the error message is now:
|
fanninpm
added a commit
to fanninpm/glacier
that referenced
this issue
Mar 26, 2021
Issue: rust-lang/rust#83340
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Mar 26, 2021
Simplify and fix byte skipping in format! string parser Fixes '\\' handling in format strings. Fixes rust-lang#83340
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Mar 27, 2021
Simplify and fix byte skipping in format! string parser Fixes '\\' handling in format strings. Fixes rust-lang#83340
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Mar 27, 2021
Simplify and fix byte skipping in format! string parser Fixes '\\' handling in format strings. Fixes rust-lang#83340
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I tried finding a minified way to reproduce the error but couldn't manage to do it, here's where it occurs:
https://github.com/L3afMe/colou-rs/blob/master/src/main.rs#L117-L152
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: