diff options
| author | bors <bors@rust-lang.org> | 2022-11-07 02:15:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-07 02:15:39 +0000 |
| commit | 9b735a7132acd58b3bd34c084e9ca5b4ca7450a2 (patch) | |
| tree | a551182bfce55b37e2ba49f98be4796bf1e94093 /compiler/rustc_codegen_ssa/src | |
| parent | 7eef946fc0e0eff40e588eab77b09b287accbec3 (diff) | |
| parent | 7ca833efe07a918f3ba89630da312d3fd6a85e01 (diff) | |
| download | rust-9b735a7132acd58b3bd34c084e9ca5b4ca7450a2.tar.gz rust-9b735a7132acd58b3bd34c084e9ca5b4ca7450a2.zip | |
Auto merge of #104083 - JohnTitor:rollup-lo3wbzs, r=JohnTitor
Rollup of 9 pull requests Successful merges: - #103885 (rustdoc: various cross-crate reexport fixes) - #103914 (Make underscore_literal_suffix a hard error.) - #104045 (Add type_array to BaseTypeMethods) - #104056 (Vec: IntoIterator signature consistency) - #104059 (Fix typo in `rustc_middle/lint.rs`) - #104062 (rustdoc: remove unused CSS `#sidebar-filler`) - #104065 (Migrate rust logo filter to CSS variables) - #104066 (LLVM 16: Update RISCV data layout) - #104074 (rustdoc: Add an example for round that is different from truncate) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/type_.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/type_.rs b/compiler/rustc_codegen_ssa/src/traits/type_.rs index bdc6a91cf6a..86481d5d758 100644 --- a/compiler/rustc_codegen_ssa/src/traits/type_.rs +++ b/compiler/rustc_codegen_ssa/src/traits/type_.rs @@ -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; |
