]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/context.rs
Test: Use smallvec directly instead of boxed.
[rust.git] / compiler / rustc_codegen_llvm / src / context.rs
index 225514ea863cb7cdb952dfbe2b6596cccb54db15..5a8aa66c61119849fd1dfd3b6b640ee7a619fad2 100644 (file)
@@ -103,7 +103,7 @@ pub struct TypeLowering<'ll> {
 
     /// If padding is used the slice maps fields from source order
     /// to llvm order.
-    pub field_remapping: Option<Box<SmallVec<[u32; 4]>>>,
+    pub field_remapping: Option<SmallVec<[u32; 4]>>,
 }
 
 fn to_llvm_tls_model(tls_model: TlsModel) -> llvm::ThreadLocalMode {