-
-
Notifications
You must be signed in to change notification settings - Fork 15k
ICE: Expected type for ... but found Lifetime(ReErased) when substituting #119064
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-mir-opt-inliningArea: MIR inliningArea: MIR inliningC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-mir-opt-inliningArea: MIR inliningArea: MIR inliningC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
https://github.com/oxidecomputer/cancel-safe-futures on commit
857ddd3a30c5f82e6edb72ac7c8a471860501d9fIf you don't set a
--targetyou will OOM while optimizing syn with these very silly flags.I also have another example of this that produces a "but found Const` ICE. They look similar, I'll post the other one later if someone wants.
rustc-ice-2023-12-18T05_32_24-344139.txt