Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhance committed Jan 29, 2025
1 parent 813d3bb commit 303d265
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/rust_verify/src/lifetime_generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2615,13 +2615,15 @@ fn erase_mir_datatype<'tcx>(ctxt: &Context<'tcx>, state: &mut State, id: DefId)
};

let rust_item = verus_items::get_rust_item(ctxt.tcx, id);
if let Some(RustItem::Box
if let Some(
RustItem::Box
| RustItem::Rc
| RustItem::Arc
| RustItem::AllocGlobal
| RustItem::ManuallyDrop
| RustItem::PhantomData,
) = rust_item {
) = rust_item
{
return;
}

Expand Down

0 comments on commit 303d265

Please sign in to comment.