]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_ssa/src/traits/type_.rs
Merge branch 'master' into patch-2
[rust.git] / compiler / rustc_codegen_ssa / src / traits / type_.rs
index bdc6a91cf6ab5f411cd61602e2920212dfb228eb..86481d5d758d6d251c5b916163079905a8dd805f 100644 (file)
@@ -22,6 +22,7 @@ pub trait BaseTypeMethods<'tcx>: Backend<'tcx> {
     fn type_f32(&self) -> Self::Type;
     fn type_f64(&self) -> Self::Type;
 
+    fn type_array(&self, ty: Self::Type, len: u64) -> Self::Type;
     fn type_func(&self, args: &[Self::Type], ret: Self::Type) -> Self::Type;
     fn type_struct(&self, els: &[Self::Type], packed: bool) -> Self::Type;
     fn type_kind(&self, ty: Self::Type) -> TypeKind;