-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc panic: libsyntax/lib.rs: index out of bounds: the len is 61 but the index is 247 #20913
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Unable to repro: #![feature(plugin)]
#![plugin(regex_macros)]
extern crate regex;
static R : regex::Regex = regex!(r".+");
fn main() {
println!("Hello, world!");
} Compiles now. Seems like the ICE was somewhere in regex-macros, and is now either fixed or worked around. @steveklabnik maybe close this? Doesn't look actionable. |
the bug occur again
rustc version cargo version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions:
Minimal code (error is
index out of bounds: the len is 61 but the index is 66
):Cargo.toml:
The text was updated successfully, but these errors were encountered: