// see cad97/generativity#13 and rust-lang/rust#78586
// if this fails in crater *please* ping me; I *want* this to not hit the lint!
#![deny(repr_transparent_external_private_fields)]// this should not trigger
usegenerativity::{Id, make_guard};#[repr(transparent)]pubstructBOption<'id, T>(Option<T>, Id<'id>);// this should work
fnmain(){make_guard!(a);let_= BOption(Some(0), a.into());}