Skip to content

Commit 9bc75fd

Browse files
Programmatically convert some of the pat ctors
1 parent d815fa4 commit 9bc75fd

File tree

1 file changed

+1
-1
lines changed
  • src/borrow_tracker/tree_borrows

1 file changed

+1
-1
lines changed

src/borrow_tracker/tree_borrows/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
475475
NewPermission::from_ref_ty(pointee, mutability, self.kind, self.ecx);
476476
self.retag_ptr_inplace(place, new_perm)?;
477477
}
478-
ty::RawPtr(_) => {
478+
ty::RawPtr(_, _) => {
479479
// We definitely do *not* want to recurse into raw pointers -- wide raw
480480
// pointers have fields, and for dyn Trait pointees those can have reference
481481
// type!

0 commit comments

Comments
 (0)