1 #![allow(
2     dead_code,
3     non_snake_case,
4     non_camel_case_types,
5     non_upper_case_globals
6 )]
7 
8 #[repr(C)]
9 #[derive(Debug, Default, Copy, Clone)]
10 pub struct DoesNotUse {
11     pub _address: u8,
12 }
13 pub type DoesNotUse_Aliased<T> = T;
14 pub type DoesNotUse_Typedefed<U> = U;
15 #[repr(C)]
16 #[derive(Debug, Copy, Clone)]
17 pub struct DoesNotUse_IndirectUsage<T, U> {
18     pub member: DoesNotUse_Aliased<T>,
19     pub another: DoesNotUse_Typedefed<U>,
20     pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
21     pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<U>>,
22 }
23 impl<T, U> Default for DoesNotUse_IndirectUsage<T, U> {
defaultnull24     fn default() -> Self {
25         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
26         unsafe {
27             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
28             s.assume_init()
29         }
30     }
31 }
32