File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1000,6 +1000,11 @@ symbols! {
1000
1000
is_val_statically_known,
1001
1001
isa_attribute,
1002
1002
isize ,
1003
+ isize_legacy_const_max,
1004
+ isize_legacy_const_min,
1005
+ isize_legacy_fn_max_value,
1006
+ isize_legacy_fn_min_value,
1007
+ isize_legacy_mod,
1003
1008
issue,
1004
1009
issue_5723_bootstrap,
1005
1010
issue_tracker_base_url,
@@ -1910,6 +1915,11 @@ symbols! {
1910
1915
used_with_arg,
1911
1916
using,
1912
1917
usize ,
1918
+ usize_legacy_const_max,
1919
+ usize_legacy_const_min,
1920
+ usize_legacy_fn_max_value,
1921
+ usize_legacy_fn_min_value,
1922
+ usize_legacy_mod,
1913
1923
va_arg,
1914
1924
va_copy,
1915
1925
va_end,
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