]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/consts.rs
consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)
[rust.git] / compiler / rustc_codegen_llvm / src / consts.rs
index 1fef22796ddad7d09994bddf04e43fa000735279..863f1f09a16dc941de96f5d3d16509a169598c2f 100644 (file)
@@ -101,7 +101,7 @@ fn append_chunks_of_init_and_uninit_bytes<'ll, 'a, 'b>(
 
         let address_space = match cx.tcx.global_alloc(alloc_id) {
             GlobalAlloc::Function(..) => cx.data_layout().instruction_address_space,
-            GlobalAlloc::Static(..) | GlobalAlloc::Memory(..) | GlobalAlloc::Vtable(..) => {
+            GlobalAlloc::Static(..) | GlobalAlloc::Memory(..) | GlobalAlloc::VTable(..) => {
                 AddressSpace::DATA
             }
         };