File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 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 {
29722972 #[ inline( always) ]
29732973 #[ rustc_const_stable( feature = "const_max_value" , since = "1.32.0" ) ]
29742974 #[ deprecated( since = "TBD" , note = "replaced by the `MIN` associated constant on this type" ) ]
2975+ #[ rustc_diagnostic_item = concat!( stringify!( $SelfT) , "_legacy_fn_min_value" ) ]
29752976 pub const fn min_value( ) -> Self { Self :: MIN }
29762977
29772978 /// New code should prefer to use
@@ -2983,6 +2984,7 @@ macro_rules! uint_impl {
29832984 #[ inline( always) ]
29842985 #[ rustc_const_stable( feature = "const_max_value" , since = "1.32.0" ) ]
29852986 #[ deprecated( since = "TBD" , note = "replaced by the `MAX` associated constant on this type" ) ]
2987+ #[ rustc_diagnostic_item = concat!( stringify!( $SelfT) , "_legacy_fn_max_value" ) ]
29862988 pub const fn max_value( ) -> Self { Self :: MAX }
29872989 }
29882990}
You can’t perform that action at this time.
0 commit comments