-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
RUSTFLAGS='-Z fuel=rand_core=0' leads to ICE: trimmed_def_paths constructed #79546
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
|
Minimal reproduction without Cargo: struct S;
fn main() {} $ rustc test.rs --cap-lints allow -Z fuel=test=0
error: internal compiler error: trimmed_def_paths constructed
… Full output
|
I am also seeing this panic, though perhaps unrelated because I don't have those flags. I don't have a minimal example yet. Here's my trace. Let me know if I should make another bug.
|
I found a minimal example and opened a new issue, #89088. Same error message, very different example. Seems unrelated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Cargo.toml
src/main.rs
Building with
env RUSTFLAGS='-Z fuel=rand_core=0' cargo build --release
leads toerror: internal compiler error: trimmed_def_paths constructed
.Meta
rustc --version --verbose
:From bisecting previous nightlies, this is a regression between 2020-09-03 0d0f6b1 and 2020-09-04 c59199e. Within 0d0f6b1...c59199e, it looks like #73996 is related. Cc @da-x.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: