Skip to content

Commit 722475c

Browse files
committed
Auto merge of #2009 - RalfJung:rustup, r=RalfJung
rustup
2 parents acb58ff + d54c5fb commit 722475c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d137c3a7bd3b180317044f8ccb9a8b4b3bb07db3
1+
89adcc636f94d34a6fc90fa117e28ddf6be7b983

src/shims/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
105105
// which we pass to user code.
106106
let fn_ptr = this.memory.create_fn_alloc(FnVal::Instance(fn_instance));
107107

108-
let num_fields = dest.layout.layout.fields.count();
108+
let num_fields = dest.layout.fields.count();
109109

110110
if !(4..=5).contains(&num_fields) {
111111
// Always mention 5 fields, since the 4-field struct

0 commit comments

Comments
 (0)