-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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: diagnostic::SpanHandler::span_bug - panic at Box<Any>
#22713
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Forgot important part:
|
Can you post the whole code? |
|
This example is unfortunately quite stale: $ rustc main.rs
main.rs:6:5: 6:34 error: unresolved import `std::old_io::process::Command`. Could not find `old_io` in `std`
main.rs:6 use std::old_io::process::Command;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.rs:7:19: 7:23 error: unresolved import `std::old_io::File`. Could not find `old_io` in `std`
main.rs:7 use std::old_io::{File, TempDir};
^~~~
main.rs:7:25: 7:32 error: unresolved import `std::old_io::TempDir`. Could not find `old_io` in `std`
main.rs:7 use std::old_io::{File, TempDir};
^~~~~~~
main.rs:8:5: 8:20 error: unresolved import `std::old_io::fs`. Could not find `old_io` in `std`
main.rs:8 use std::old_io::fs;
^~~~~~~~~~~~~~~
main.rs:9:5: 9:36 error: unresolved import `std::old_io::fs::PathExtensions`. Could not find `old_io` in `std`
main.rs:9 use std::old_io::fs::PathExtensions;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.rs:192:9: 192:24 error: unresolved import `std::old_io::fs`. Could not find `old_io` in `std`
main.rs:192 use std::old_io::fs;
^~~~~~~~~~~~~~~
error: aborting due to 6 previous errors @kmcguire3413 can you update this please? |
Closed
If the test case here can't be reduced, we should just close this issue as is. |
Closing due to inactivity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
The build is a little old. I am currently compiling the most recent from the repo, but I figured this might not have been solved yet. I will try with the newest version as soon as it is done building.
The text was updated successfully, but these errors were encountered: