Skip to content

Impl Trait ICE: escaping regions in predicate #44198

Closed
@TyOverby

Description

@TyOverby
error: internal compiler error: /checkout/src/librustc_typeck/check/mod.rs:632: escaping regions in predicate Obligation(predicate=Binder(ProjectionPredicate(ProjectionTy { substs: Slice([_]), item_def_id: DefId { krate: CrateNum(2), node: DefIndex(911) => core/bdc9c6a::ops[0]::generator[0]::Generator[0]::Yield[0] } }, &T)),depth=0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions