File tree 4 files changed +7
-0
lines changed
4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 158
158
#![ cfg_attr( not( any( feature = "use_std" , feature = "rustc-dep-of-std" ) ) , no_std) ]
159
159
// Enable lints
160
160
#![ cfg_attr( feature = "extra_traits" , deny( missing_debug_implementations) ) ]
161
+ #![ deny( missing_copy_implementations) ]
161
162
162
163
#[ cfg( all( not( cross_platform_docs) , feature = "use_std" ) ) ]
163
164
extern crate std as core;
Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ pub type sighandler_t = ::size_t;
42
42
pub type cc_t = :: c_uchar ;
43
43
44
44
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
45
+ #[ derive( Clone , Copy ) ]
45
46
pub enum DIR { }
46
47
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
48
+ #[ derive( Clone , Copy ) ]
47
49
pub enum locale_t { }
48
50
49
51
s ! {
@@ -368,8 +370,10 @@ cfg_if! {
368
370
}
369
371
370
372
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
373
+ #[ derive( Clone , Copy ) ]
371
374
pub enum FILE { }
372
375
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
376
+ #[ derive( Clone , Copy ) ]
373
377
pub enum fpos_t { } // TODO: fill this out with a struct
374
378
375
379
extern {
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ pub type Elf32_Section = u16;
39
39
pub type Elf64_Section = u16 ;
40
40
41
41
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
42
+ #[ derive( Clone , Copy ) ]
42
43
pub enum fpos64_t { } // TODO: fill this out with a struct
43
44
44
45
s ! {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pub type key_t = ::c_int;
9
9
pub type id_t = :: c_uint ;
10
10
11
11
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
12
+ #[ derive( Clone , Copy ) ]
12
13
pub enum timezone { }
13
14
14
15
s ! {
You can’t perform that action at this time.
0 commit comments