Skip to content

CTFE interns allocations multiple times #53552

Description

@oli-obk

This is refactoring fallout during the miri merger.

First it is interned in

let alloc = self.tcx.intern_const_alloc(alloc);
and then again in
let alloc = ecx.tcx.intern_const_alloc(alloc);

The second place is wholly unnecessary barring bugs in the first place

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions