-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Panic in nightly rustc_errors::CodeSuggestion::splice_lines #57521
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I believe |
Dug into this a bit last night and after updating |
triage: Marking as P-high. Assigning self. (but also need to follow up with @dlrobertson to see what their status is; don't want to duplicate effort!) |
@dlrobertson what does the incorrect error message look like? That might give me an idea of what is wrong. |
After fixing |
Figured it out. I'll post a PR shortly. |
Fix suggestions given mulitple bad lifetimes When given multiple lifetimes prior to type parameters in generic parameters, do not ICE and print the correct suggestion. r? @estebank CC @pnkfelix Fixes: rust-lang#57521
Fix suggestions given mulitple bad lifetimes When given multiple lifetimes prior to type parameters in generic parameters, do not ICE and print the correct suggestion. r? @estebank CC @pnkfelix Fixes: rust-lang#57521
Fix suggestions given mulitple bad lifetimes When given multiple lifetimes prior to type parameters in generic parameters, do not ICE and print the correct suggestion. r? @estebank CC @pnkfelix Fixes: rust-lang#57521
Fix suggestions given mulitple bad lifetimes When given multiple lifetimes prior to type parameters in generic parameters, do not ICE and print the correct suggestion. r? @estebank CC @pnkfelix Fixes: rust-lang#57521
Full source file:
fn x<T, '_, 'b>() {}
Panic output:
The text was updated successfully, but these errors were encountered: