Skip to content

Commit 27d5b84

Browse files
committed
rustup
1 parent c58298c commit 27d5b84

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2c6a29af35a81e20f8af4c32bf1b55c59b89eccd
1+
258256697b8550860be0f6194dec532ac616c2c1

src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
298298
trace!("UnsafeCellVisitor: {:?} {:?}", *v, v.layout.ty);
299299
let is_unsafe_cell = match v.layout.ty.kind() {
300300
ty::Adt(adt, _) =>
301-
Some(adt.did) == self.ecx.tcx.lang_items().unsafe_cell_type(),
301+
Some(adt.did()) == self.ecx.tcx.lang_items().unsafe_cell_type(),
302302
_ => false,
303303
};
304304
if is_unsafe_cell {

src/shims/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
134134

135135
let dest = this.force_allocation(dest)?;
136136
if let ty::Adt(adt, _) = dest.layout.ty.kind() {
137-
if !adt.repr.c() {
137+
if !adt.repr().c() {
138138
throw_ub_format!(
139139
"miri_resolve_frame must be declared with a `#[repr(C)]` return type"
140140
);

0 commit comments

Comments
 (0)