3 #![allow(non_camel_case_types)]
4 #![allow(non_snake_case)]
6 pub trait bomb { fn boom(&self, _: Ident); }
8 impl bomb
for S { fn boom(&self, _: Ident) { }
}
10 pub struct Ident { name: usize }
12 macro_rules
! int3 { () => ( { }
) }
14 fn Ident_new() -> Ident
{
16 Ident {name: 0x6789ABCD }
19 pub fn light_fuse(fld
: Box
<dyn bomb
>) {
23 fld
.boom(Ident_new()); // *** 1
29 let b
= Box
::new(S
) as Box
<dyn bomb
>;