Skip to content

Commit e80d477

Browse files
authored
impl Debug for Tracked (#1450)
* impl Debug for Tracked
1 parent 27ae105 commit e80d477

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/builtin/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,12 @@ pub struct Tracked<A> {
370370
phantom: PhantomData<A>,
371371
}
372372

373+
impl<A> core::fmt::Debug for Tracked<A> {
374+
fn fmt(&self, _: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
375+
Ok(())
376+
}
377+
}
378+
373379
impl<A> Ghost<A> {
374380
#[cfg(verus_keep_ghost)]
375381
#[rustc_diagnostic_item = "verus::builtin::Ghost::view"]

0 commit comments

Comments
 (0)