ICE: diagnostic.rs panics due to index out of bounds error #19500
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
I was experimenting with macros on a dummy project of mine. After doing something stupid I recieved this message:
This seems to be the guilty line: https://github.com/rust-lang/rust/blob/master/src/libsyntax/diagnostic.rs#L535
Also, as you can see I am running the latest rust, installed using rustup.sh
Hope someone with better skill sets can determine the reason and submit a fix, though it looks like a minor issue.
The text was updated successfully, but these errors were encountered: