Unstable fingerprints for evaluate_obligation (EvaluatedToOkModuloRegions) #110416
Labels
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
This appears similar to those tracked in #84970, but doesn't appear to be any of the outstanding cases listed there. The bug can be triggered with the steps below.
cargo new test_case
, andsrc/lib.rs
andtests/test.rs
defined as below.cargo clean && cargo build --all-targets
src/lib.rs
, on line 2, replacestruct A;
withstruct A(B);
cargo build --all-targets
Contents of
src/lib.rs
Contents of
tests/test.rs
Meta
Error was first observed on stable.
rustc --version --verbose
:Error also occurs on nightly rust,
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: