File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 158158#![ cfg_attr( not( any( feature = "use_std" , feature = "rustc-dep-of-std" ) ) , no_std) ]
159159// Enable lints
160160#![ cfg_attr( feature = "extra_traits" , deny( missing_debug_implementations) ) ]
161+ #![ deny( missing_copy_implementations) ]
161162
162163#[ cfg( all( not( cross_platform_docs) , feature = "use_std" ) ) ]
163164extern crate std as core;
Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ pub type sighandler_t = ::size_t;
4242pub type cc_t = :: c_uchar ;
4343
4444#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
45+ #[ derive( Clone , Copy ) ]
4546pub enum DIR { }
4647#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
48+ #[ derive( Clone , Copy ) ]
4749pub enum locale_t { }
4850
4951s ! {
@@ -368,8 +370,10 @@ cfg_if! {
368370}
369371
370372#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
373+ #[ derive( Clone , Copy ) ]
371374pub enum FILE { }
372375#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
376+ #[ derive( Clone , Copy ) ]
373377pub enum fpos_t { } // TODO: fill this out with a struct
374378
375379extern {
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ pub type Elf32_Section = u16;
3939pub type Elf64_Section = u16 ;
4040
4141#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
42+ #[ derive( Clone , Copy ) ]
4243pub enum fpos64_t { } // TODO: fill this out with a struct
4344
4445s ! {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pub type key_t = ::c_int;
99pub type id_t = :: c_uint ;
1010
1111#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
12+ #[ derive( Clone , Copy ) ]
1213pub enum timezone { }
1314
1415s ! {
You can’t perform that action at this time.
0 commit comments