@@ -137,7 +137,7 @@ impl Not for ! {
137137#[ lang = "bitand" ]
138138#[ doc( alias = "&" ) ]
139139#[ stable( feature = "rust1" , since = "1.0.0" ) ]
140- #[ rustc_on_unimplemented (
140+ #[ diagnostic :: on_unimplemented (
141141 message = "no implementation for `{Self} & {Rhs}`" ,
142142 label = "no implementation for `{Self} & {Rhs}`"
143143) ]
@@ -237,7 +237,7 @@ bitand_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
237237#[ lang = "bitor" ]
238238#[ doc( alias = "|" ) ]
239239#[ stable( feature = "rust1" , since = "1.0.0" ) ]
240- #[ rustc_on_unimplemented (
240+ #[ diagnostic :: on_unimplemented (
241241 message = "no implementation for `{Self} | {Rhs}`" ,
242242 label = "no implementation for `{Self} | {Rhs}`"
243243) ]
@@ -337,7 +337,7 @@ bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
337337#[ lang = "bitxor" ]
338338#[ doc( alias = "^" ) ]
339339#[ stable( feature = "rust1" , since = "1.0.0" ) ]
340- #[ rustc_on_unimplemented (
340+ #[ diagnostic :: on_unimplemented (
341341 message = "no implementation for `{Self} ^ {Rhs}`" ,
342342 label = "no implementation for `{Self} ^ {Rhs}`"
343343) ]
@@ -436,7 +436,7 @@ bitxor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
436436#[ lang = "shl" ]
437437#[ doc( alias = "<<" ) ]
438438#[ stable( feature = "rust1" , since = "1.0.0" ) ]
439- #[ rustc_on_unimplemented (
439+ #[ diagnostic :: on_unimplemented (
440440 message = "no implementation for `{Self} << {Rhs}`" ,
441441 label = "no implementation for `{Self} << {Rhs}`"
442442) ]
@@ -554,7 +554,7 @@ shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 }
554554#[ lang = "shr" ]
555555#[ doc( alias = ">>" ) ]
556556#[ stable( feature = "rust1" , since = "1.0.0" ) ]
557- #[ rustc_on_unimplemented (
557+ #[ diagnostic :: on_unimplemented (
558558 message = "no implementation for `{Self} >> {Rhs}`" ,
559559 label = "no implementation for `{Self} >> {Rhs}`"
560560) ]
@@ -681,7 +681,7 @@ shr_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
681681#[ lang = "bitand_assign" ]
682682#[ doc( alias = "&=" ) ]
683683#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
684- #[ rustc_on_unimplemented (
684+ #[ diagnostic :: on_unimplemented (
685685 message = "no implementation for `{Self} &= {Rhs}`" ,
686686 label = "no implementation for `{Self} &= {Rhs}`"
687687) ]
@@ -752,7 +752,7 @@ bitand_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
752752#[ lang = "bitor_assign" ]
753753#[ doc( alias = "|=" ) ]
754754#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
755- #[ rustc_on_unimplemented (
755+ #[ diagnostic :: on_unimplemented (
756756 message = "no implementation for `{Self} |= {Rhs}`" ,
757757 label = "no implementation for `{Self} |= {Rhs}`"
758758) ]
@@ -823,7 +823,7 @@ bitor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
823823#[ lang = "bitxor_assign" ]
824824#[ doc( alias = "^=" ) ]
825825#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
826- #[ rustc_on_unimplemented (
826+ #[ diagnostic :: on_unimplemented (
827827 message = "no implementation for `{Self} ^= {Rhs}`" ,
828828 label = "no implementation for `{Self} ^= {Rhs}`"
829829) ]
@@ -892,7 +892,7 @@ bitxor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
892892#[ lang = "shl_assign" ]
893893#[ doc( alias = "<<=" ) ]
894894#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
895- #[ rustc_on_unimplemented (
895+ #[ diagnostic :: on_unimplemented (
896896 message = "no implementation for `{Self} <<= {Rhs}`" ,
897897 label = "no implementation for `{Self} <<= {Rhs}`"
898898) ]
@@ -974,7 +974,7 @@ shl_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
974974#[ lang = "shr_assign" ]
975975#[ doc( alias = ">>=" ) ]
976976#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
977- #[ rustc_on_unimplemented (
977+ #[ diagnostic :: on_unimplemented (
978978 message = "no implementation for `{Self} >>= {Rhs}`" ,
979979 label = "no implementation for `{Self} >>= {Rhs}`"
980980) ]
0 commit comments