@@ -555,7 +555,7 @@ macro_rules! int_impl {
555555 #[ must_use = "this returns the result of the operation, \
556556 without modifying the original"]
557557 #[ inline( always) ]
558- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
558+ #[ track_caller]
559559 pub const unsafe fn unchecked_add( self , rhs: Self ) -> Self {
560560 assert_unsafe_precondition!(
561561 check_language_ub,
@@ -705,7 +705,7 @@ macro_rules! int_impl {
705705 #[ must_use = "this returns the result of the operation, \
706706 without modifying the original"]
707707 #[ inline( always) ]
708- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
708+ #[ track_caller]
709709 pub const unsafe fn unchecked_sub( self , rhs: Self ) -> Self {
710710 assert_unsafe_precondition!(
711711 check_language_ub,
@@ -855,7 +855,7 @@ macro_rules! int_impl {
855855 #[ must_use = "this returns the result of the operation, \
856856 without modifying the original"]
857857 #[ inline( always) ]
858- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
858+ #[ track_caller]
859859 pub const unsafe fn unchecked_mul( self , rhs: Self ) -> Self {
860860 assert_unsafe_precondition!(
861861 check_language_ub,
@@ -1199,7 +1199,7 @@ macro_rules! int_impl {
11991199 #[ must_use = "this returns the result of the operation, \
12001200 without modifying the original"]
12011201 #[ inline( always) ]
1202- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1202+ #[ track_caller]
12031203 pub const unsafe fn unchecked_neg( self ) -> Self {
12041204 assert_unsafe_precondition!(
12051205 check_language_ub,
@@ -1327,7 +1327,7 @@ macro_rules! int_impl {
13271327 #[ must_use = "this returns the result of the operation, \
13281328 without modifying the original"]
13291329 #[ inline( always) ]
1330- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1330+ #[ track_caller]
13311331 pub const unsafe fn unchecked_shl( self , rhs: u32 ) -> Self {
13321332 assert_unsafe_precondition!(
13331333 check_language_ub,
@@ -1448,7 +1448,7 @@ macro_rules! int_impl {
14481448 #[ must_use = "this returns the result of the operation, \
14491449 without modifying the original"]
14501450 #[ inline( always) ]
1451- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1451+ #[ track_caller]
14521452 pub const unsafe fn unchecked_shr( self , rhs: u32 ) -> Self {
14531453 assert_unsafe_precondition!(
14541454 check_language_ub,
0 commit comments