File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2972,6 +2972,7 @@ macro_rules! uint_impl {
2972
2972
#[ inline( always) ]
2973
2973
#[ rustc_const_stable( feature = "const_max_value" , since = "1.32.0" ) ]
2974
2974
#[ deprecated( since = "TBD" , note = "replaced by the `MIN` associated constant on this type" ) ]
2975
+ #[ rustc_diagnostic_item = concat!( stringify!( $SelfT) , "_legacy_fn_min_value" ) ]
2975
2976
pub const fn min_value( ) -> Self { Self :: MIN }
2976
2977
2977
2978
/// New code should prefer to use
@@ -2983,6 +2984,7 @@ macro_rules! uint_impl {
2983
2984
#[ inline( always) ]
2984
2985
#[ rustc_const_stable( feature = "const_max_value" , since = "1.32.0" ) ]
2985
2986
#[ deprecated( since = "TBD" , note = "replaced by the `MAX` associated constant on this type" ) ]
2987
+ #[ rustc_diagnostic_item = concat!( stringify!( $SelfT) , "_legacy_fn_max_value" ) ]
2986
2988
pub const fn max_value( ) -> Self { Self :: MAX }
2987
2989
}
2988
2990
}
You can’t perform that action at this time.
0 commit comments