-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE E0431.rs with -Zsave-analysis #73020
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
Labels
A-save-analysis
Area: saving results of analyses such as inference and borrowck results to a file.
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.
Comments
another one: // check-pass
#![allow(unused_imports)]
use {{}, {}};
fn main() {} |
another one: // run-pass
#![allow(unused_imports)]
// pretty-expanded FIXME #23616
pub fn foo() -> isize {
3
}
pub fn bar() -> isize {
4
}
pub mod baz {
use {foo, bar};
pub fn quux() -> isize {
foo() + bar()
}
}
pub mod grault {
use {foo};
pub fn garply() -> isize {
foo()
}
}
pub mod waldo {
use {};
pub fn plugh() -> isize {
0
}
}
pub fn main() {
let _x = baz::quux();
let _y = grault::garply();
let _z = waldo::plugh();
} |
I am on it |
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Jun 6, 2020
… r=Xanewok save_analysis: fix some ICEs Fixes rust-lang#73020 Fixes rust-lang#73022 Fixes rust-lang#73041
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Jun 6, 2020
… r=Xanewok save_analysis: fix some ICEs Fixes rust-lang#73020 Fixes rust-lang#73022 Fixes rust-lang#73041
RalfJung
added a commit
to RalfJung/rust
that referenced
this issue
Jun 6, 2020
… r=Xanewok save_analysis: fix some ICEs Fixes rust-lang#73020 Fixes rust-lang#73022 Fixes rust-lang#73041
RalfJung
added a commit
to RalfJung/rust
that referenced
this issue
Jun 6, 2020
… r=Xanewok save_analysis: fix some ICEs Fixes rust-lang#73020 Fixes rust-lang#73022 Fixes rust-lang#73041
RalfJung
added a commit
to RalfJung/rust
that referenced
this issue
Jun 6, 2020
… r=Xanewok save_analysis: fix some ICEs Fixes rust-lang#73020 Fixes rust-lang#73022 Fixes rust-lang#73041
Same issue happened after upgraded to the latest version today. |
Yes the fix #73046 has not landed yet. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-save-analysis
Area: saving results of analyses such as inference and borrowck results to a file.
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.
Code
code from
./src/test/ui/error-codes/E0431.rs
Meta
repo is @ 219380d
Error output
build/x86_64-unknown-linux-gnu/stage2/bin/rustc ./src/test/ui/error-codes/E0431.rs -Zsave-analysis
Backtrace
The text was updated successfully, but these errors were encountered: