diff options
| author | bors <bors@rust-lang.org> | 2023-06-16 21:14:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-16 21:14:24 +0000 |
| commit | 670a0edaa9d80683df8db81554890710e79f8024 (patch) | |
| tree | 4bbbcd5f4ab51712cefa538eeaed165118fc94b9 /compiler/rustc_codegen_ssa/src | |
| parent | 6bba061467f7c2cab04b262b95eb67bf89265587 (diff) | |
| parent | 56c96d755262be18788191c1f6cddeeae7911379 (diff) | |
| download | rust-670a0edaa9d80683df8db81554890710e79f8024.tar.gz rust-670a0edaa9d80683df8db81554890710e79f8024.zip | |
Auto merge of #112716 - compiler-errors:rollup-h77daia, r=compiler-errors
Rollup of 7 pull requests Successful merges: - #111074 (Relax implicit `T: Sized` bounds on `BufReader<T>`, `BufWriter<T>` and `LineWriter<T>`) - #112226 (std: available_parallelism using native netbsd api first) - #112474 (Support 128-bit enum variant in debuginfo codegen) - #112662 (`#[lang_item]` for `core::ptr::Unique`) - #112665 (Make assumption functions in new solver take `Binder<'tcx, Clause<'tcx>>`) - #112684 (Disable alignment checks on i686-pc-windows-msvc) - #112706 (Add `SyntaxContext::is_root`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/consts.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/consts.rs b/compiler/rustc_codegen_ssa/src/traits/consts.rs index dc2fc396480..d6e9bfce1a4 100644 --- a/compiler/rustc_codegen_ssa/src/traits/consts.rs +++ b/compiler/rustc_codegen_ssa/src/traits/consts.rs @@ -15,6 +15,7 @@ pub trait ConstMethods<'tcx>: BackendTypes { fn const_i32(&self, i: i32) -> Self::Value; fn const_u32(&self, i: u32) -> Self::Value; fn const_u64(&self, i: u64) -> Self::Value; + fn const_u128(&self, i: u128) -> Self::Value; fn const_usize(&self, i: u64) -> Self::Value; fn const_u8(&self, i: u8) -> Self::Value; fn const_real(&self, t: Self::Type, val: f64) -> Self::Value; |
