Skip to content

CTFE interns allocations multiple times #53552

Closed
@oli-obk

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

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