File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/tools/miri/src/borrow_tracker/tree_borrows Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -468,10 +468,8 @@ trait EvalContextPrivExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
468
468
// - when `extern type` is involved we use the size of the known prefix,
469
469
// - if the pointer is not reborrowed (raw pointer) then we override the size
470
470
// to do a zero-length reborrow.
471
- let reborrow_size = this
472
- . size_and_align_of_val ( place) ?
473
- . map ( |( size, _) | size)
474
- . unwrap_or ( place. layout . size ) ;
471
+ let reborrow_size =
472
+ this. size_and_align_of_val ( place) ?. map ( |( size, _) | size) . unwrap_or ( place. layout . size ) ;
475
473
trace ! ( "Creating new permission: {:?} with size {:?}" , new_perm, reborrow_size) ;
476
474
477
475
// This new tag is not guaranteed to actually be used.
You can’t perform that action at this time.
0 commit comments