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
This is refactoring fallout during the miri merger.
First it is interned in
rust/src/librustc_mir/interpret/memory.rs
Line 604 in 1558ae7
rust/src/librustc_mir/interpret/const_eval.rs
Line 98 in 1558ae7
The second place is wholly unnecessary barring bugs in the first place