Skip to content

Commit d46d357

Browse files
committed
Auto merge of #3133 - rust-lang:rustup-2023-10-22, r=RalfJung
Automatic Rustup
2 parents 87ce1b1 + 2321aeb commit d46d357

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
249624b5043013d18c00f0401ca431c1a6baa8cd
1+
9e3f784eb2c7c847b6c3578b373c0e0bc9233ca3

src/shims/backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
3737
let this = self.eval_context_mut();
3838
let tcx = this.tcx;
3939

40-
let flags = if let Some(flags_op) = args.get(0) {
40+
let flags = if let Some(flags_op) = args.first() {
4141
this.read_scalar(flags_op)?.to_u64()?
4242
} else {
4343
throw_ub_format!("expected at least 1 argument")

0 commit comments

Comments
 (0)