3 #![allow(non_camel_case_types)]
4 #![allow(non_snake_case)]
5 // ignore-pretty unreported
7 pub trait bomb { fn boom(&self, _: Ident); }
9 impl bomb
for S { fn boom(&self, _: Ident) { }
}
11 pub struct Ident { name: usize }
13 macro_rules
! int3 { () => ( { }
) }
15 fn Ident_new() -> Ident
{
17 Ident {name: 0x6789ABCD }
20 pub fn light_fuse(fld
: Box
<dyn bomb
>) {
24 fld
.boom(Ident_new()); // *** 1
30 let b
= Box
::new(S
) as Box
<dyn bomb
>;