@@ -137,7 +137,7 @@ impl Not for ! {
137
137
#[ lang = "bitand" ]
138
138
#[ doc( alias = "&" ) ]
139
139
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
140
- #[ rustc_on_unimplemented (
140
+ #[ diagnostic :: on_unimplemented (
141
141
message = "no implementation for `{Self} & {Rhs}`" ,
142
142
label = "no implementation for `{Self} & {Rhs}`"
143
143
) ]
@@ -237,7 +237,7 @@ bitand_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
237
237
#[ lang = "bitor" ]
238
238
#[ doc( alias = "|" ) ]
239
239
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
240
- #[ rustc_on_unimplemented (
240
+ #[ diagnostic :: on_unimplemented (
241
241
message = "no implementation for `{Self} | {Rhs}`" ,
242
242
label = "no implementation for `{Self} | {Rhs}`"
243
243
) ]
@@ -337,7 +337,7 @@ bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
337
337
#[ lang = "bitxor" ]
338
338
#[ doc( alias = "^" ) ]
339
339
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
340
- #[ rustc_on_unimplemented (
340
+ #[ diagnostic :: on_unimplemented (
341
341
message = "no implementation for `{Self} ^ {Rhs}`" ,
342
342
label = "no implementation for `{Self} ^ {Rhs}`"
343
343
) ]
@@ -436,7 +436,7 @@ bitxor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
436
436
#[ lang = "shl" ]
437
437
#[ doc( alias = "<<" ) ]
438
438
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
439
- #[ rustc_on_unimplemented (
439
+ #[ diagnostic :: on_unimplemented (
440
440
message = "no implementation for `{Self} << {Rhs}`" ,
441
441
label = "no implementation for `{Self} << {Rhs}`"
442
442
) ]
@@ -554,7 +554,7 @@ shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 }
554
554
#[ lang = "shr" ]
555
555
#[ doc( alias = ">>" ) ]
556
556
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
557
- #[ rustc_on_unimplemented (
557
+ #[ diagnostic :: on_unimplemented (
558
558
message = "no implementation for `{Self} >> {Rhs}`" ,
559
559
label = "no implementation for `{Self} >> {Rhs}`"
560
560
) ]
@@ -681,7 +681,7 @@ shr_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
681
681
#[ lang = "bitand_assign" ]
682
682
#[ doc( alias = "&=" ) ]
683
683
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
684
- #[ rustc_on_unimplemented (
684
+ #[ diagnostic :: on_unimplemented (
685
685
message = "no implementation for `{Self} &= {Rhs}`" ,
686
686
label = "no implementation for `{Self} &= {Rhs}`"
687
687
) ]
@@ -752,7 +752,7 @@ bitand_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
752
752
#[ lang = "bitor_assign" ]
753
753
#[ doc( alias = "|=" ) ]
754
754
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
755
- #[ rustc_on_unimplemented (
755
+ #[ diagnostic :: on_unimplemented (
756
756
message = "no implementation for `{Self} |= {Rhs}`" ,
757
757
label = "no implementation for `{Self} |= {Rhs}`"
758
758
) ]
@@ -823,7 +823,7 @@ bitor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
823
823
#[ lang = "bitxor_assign" ]
824
824
#[ doc( alias = "^=" ) ]
825
825
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
826
- #[ rustc_on_unimplemented (
826
+ #[ diagnostic :: on_unimplemented (
827
827
message = "no implementation for `{Self} ^= {Rhs}`" ,
828
828
label = "no implementation for `{Self} ^= {Rhs}`"
829
829
) ]
@@ -892,7 +892,7 @@ bitxor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
892
892
#[ lang = "shl_assign" ]
893
893
#[ doc( alias = "<<=" ) ]
894
894
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
895
- #[ rustc_on_unimplemented (
895
+ #[ diagnostic :: on_unimplemented (
896
896
message = "no implementation for `{Self} <<= {Rhs}`" ,
897
897
label = "no implementation for `{Self} <<= {Rhs}`"
898
898
) ]
@@ -974,7 +974,7 @@ shl_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
974
974
#[ lang = "shr_assign" ]
975
975
#[ doc( alias = ">>=" ) ]
976
976
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
977
- #[ rustc_on_unimplemented (
977
+ #[ diagnostic :: on_unimplemented (
978
978
message = "no implementation for `{Self} >>= {Rhs}`" ,
979
979
label = "no implementation for `{Self} >>= {Rhs}`"
980
980
) ]
0 commit comments