@@ -418,7 +418,7 @@ impl siginfo_t {
418
418
}
419
419
420
420
s_no_extra_traits ! {
421
- #[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
421
+ #[ cfg_attr( feature = "extra_traits" , :: core :: prelude :: v1 :: derive( :: core :: fmt :: Debug ) ) ]
422
422
pub struct aiocb {
423
423
pub aio_fildes: c_int,
424
424
pub aio_lio_opcode: c_int,
@@ -557,7 +557,8 @@ s_no_extra_traits! {
557
557
558
558
cfg_if ! {
559
559
if #[ cfg( feature = "extra_traits" ) ] {
560
- impl PartialEq for utmpx {
560
+ use core:: iter:: Iterator ;
561
+ impl core:: cmp:: PartialEq for utmpx {
561
562
fn eq( & self , other: & utmpx) -> bool {
562
563
self . ut_type == other. ut_type
563
564
&& self . ut_pid == other. ut_pid
@@ -577,7 +578,7 @@ cfg_if! {
577
578
}
578
579
}
579
580
580
- impl Eq for utmpx { }
581
+ impl core :: cmp :: Eq for utmpx { }
581
582
582
583
impl fmt:: Debug for utmpx {
583
584
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
@@ -613,7 +614,7 @@ cfg_if! {
613
614
}
614
615
}
615
616
616
- impl PartialEq for __c_anonymous_ptrace_syscall_info_data {
617
+ impl core :: cmp :: PartialEq for __c_anonymous_ptrace_syscall_info_data {
617
618
fn eq( & self , other: & __c_anonymous_ptrace_syscall_info_data) -> bool {
618
619
unsafe {
619
620
self . entry == other. entry
@@ -623,7 +624,7 @@ cfg_if! {
623
624
}
624
625
}
625
626
626
- impl Eq for __c_anonymous_ptrace_syscall_info_data { }
627
+ impl core :: cmp :: Eq for __c_anonymous_ptrace_syscall_info_data { }
627
628
628
629
impl fmt:: Debug for __c_anonymous_ptrace_syscall_info_data {
629
630
fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
0 commit comments