-
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: Found unstable fingerprints for evaluate_obligation(4742c1b409da674c-2b2e292cfb3cefd9): Ok(EvaluatedToOk) #138209
Comments
An incremental bug with steps to reproduce omg thanks so much! |
edit: scratch that, @rustbot label +E-needs-bisection |
reduction: pub trait Encoder<T>: Send {}
pub trait Encode {
type Encoder;
}
impl Encode for &str {
type Encoder = StrEncoder;
}
pub struct StrEncoder;
pub struct HelpLink {}
pub struct HelpLinkEncoder {
link: <&'static str as Encode>::Encoder,
}
impl Encoder<HelpLink> for HelpLinkEncoder {}
pub struct ErrorDetail {
/* START_REMOVE */ locale: u8,
/* END_REMOVE */
}
pub struct ErrorDetailEncoder {
a: HelpLinkEncoder,
b: <&'static str as Encode>::Encoder,
}
impl Encoder<ErrorDetail> for ErrorDetailEncoder {} reproduce by @rustbot label S-has-mcve -E-needs-mcve |
bisection: searched toolchains nightly-2021-02-10 through nightly-2023-05-31 Regression in nightly-2021-03-14 fetching https://static.rust-lang.org/dist/2021-03-13/channel-rust-nightly-git-commit-hash.txt @rustbot label -E-needs-bisection S-has-bisection |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
rustc-ice-2025-03-08T06_34_07-266476.txt
Context
This bug is kinda tricky. Follow the instructions below to reproduce the issue:
cargo build
. Should report success.src/lib.rs
.cargo build
once again. Should fail.Related: matteopolak/axum-codec#10
The text was updated successfully, but these errors were encountered: