@@ -509,7 +509,7 @@ macro_rules! int_impl {
509509 #[ must_use = "this returns the result of the operation, \
510510 without modifying the original"]
511511 #[ inline( always) ]
512- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
512+ #[ track_caller]
513513 pub const unsafe fn unchecked_add( self , rhs: Self ) -> Self {
514514 assert_unsafe_precondition!(
515515 check_language_ub,
@@ -659,7 +659,7 @@ macro_rules! int_impl {
659659 #[ must_use = "this returns the result of the operation, \
660660 without modifying the original"]
661661 #[ inline( always) ]
662- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
662+ #[ track_caller]
663663 pub const unsafe fn unchecked_sub( self , rhs: Self ) -> Self {
664664 assert_unsafe_precondition!(
665665 check_language_ub,
@@ -809,7 +809,7 @@ macro_rules! int_impl {
809809 #[ must_use = "this returns the result of the operation, \
810810 without modifying the original"]
811811 #[ inline( always) ]
812- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
812+ #[ track_caller]
813813 pub const unsafe fn unchecked_mul( self , rhs: Self ) -> Self {
814814 assert_unsafe_precondition!(
815815 check_language_ub,
@@ -1153,7 +1153,7 @@ macro_rules! int_impl {
11531153 #[ must_use = "this returns the result of the operation, \
11541154 without modifying the original"]
11551155 #[ inline( always) ]
1156- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1156+ #[ track_caller]
11571157 pub const unsafe fn unchecked_neg( self ) -> Self {
11581158 assert_unsafe_precondition!(
11591159 check_language_ub,
@@ -1281,7 +1281,7 @@ macro_rules! int_impl {
12811281 #[ must_use = "this returns the result of the operation, \
12821282 without modifying the original"]
12831283 #[ inline( always) ]
1284- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1284+ #[ track_caller]
12851285 pub const unsafe fn unchecked_shl( self , rhs: u32 ) -> Self {
12861286 assert_unsafe_precondition!(
12871287 check_language_ub,
@@ -1402,7 +1402,7 @@ macro_rules! int_impl {
14021402 #[ must_use = "this returns the result of the operation, \
14031403 without modifying the original"]
14041404 #[ inline( always) ]
1405- #[ cfg_attr ( miri , track_caller) ] // even without panics, this helps for Miri backtraces
1405+ #[ track_caller]
14061406 pub const unsafe fn unchecked_shr( self , rhs: u32 ) -> Self {
14071407 assert_unsafe_precondition!(
14081408 check_language_ub,
0 commit comments