]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_middle/src/ty/vtable.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / compiler / rustc_middle / src / ty / vtable.rs
index f77bd9f0c6ffc320d6222f03130feff9550ab844..b9b1cd73a8b9a0391473fd89eab74c8938d052b0 100644 (file)
@@ -112,5 +112,5 @@ pub(super) fn vtable_allocation_provider<'tcx>(
     }
 
     vtable.mutability = Mutability::Not;
-    tcx.create_memory_alloc(tcx.intern_const_alloc(vtable))
+    tcx.create_memory_alloc(tcx.mk_const_alloc(vtable))
 }