Skip to content

EvaluationCache overwrites its entries #50507

Open
@Zoxc

Description

@Zoxc

When the insertion to EvaluationCache is changed to use HashMapExt::insert_same. It triggers an the assertion which checks that the old value is the same as the new one. This is because the DepNodeIndex changed.

Backtrace
Log output

cc @arielb1 @nikomatsakis

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.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