Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit baee5ce

Browse files
committed
Rustup to rustc 1.74.0-nightly (65ea825 2023-09-18)
1 parent 5f3b867 commit baee5ce

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-09-14"
2+
channel = "nightly-2023-09-19"
33
components = ["rust-src", "rustc-dev", "llvm-tools"]

src/intrinsics/llvm_x86.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
7575
let x = codegen_operand(fx, x);
7676
let y = codegen_operand(fx, y);
7777
let kind = match kind {
78-
Operand::Constant(const_) => {
79-
crate::constant::eval_mir_constant(fx, const_).unwrap().0
80-
}
78+
Operand::Constant(const_) => crate::constant::eval_mir_constant(fx, const_).0,
8179
Operand::Copy(_) | Operand::Move(_) => unreachable!("{kind:?}"),
8280
};
8381

src/intrinsics/simd.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
169169
let indexes = {
170170
use rustc_middle::mir::interpret::*;
171171
let idx_const = match idx {
172-
Operand::Constant(const_) => {
173-
crate::constant::eval_mir_constant(fx, const_).unwrap().0
174-
}
172+
Operand::Constant(const_) => crate::constant::eval_mir_constant(fx, const_).0,
175173
Operand::Copy(_) | Operand::Move(_) => unreachable!("{idx:?}"),
176174
};
177175

0 commit comments

Comments
 (0)