File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1000,6 +1000,11 @@ symbols! {
10001000 is_val_statically_known,
10011001 isa_attribute,
10021002 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,
10031008 issue,
10041009 issue_5723_bootstrap,
10051010 issue_tracker_base_url,
@@ -1910,6 +1915,11 @@ symbols! {
19101915 used_with_arg,
19111916 using,
19121917 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,
19131923 va_arg,
19141924 va_copy,
19151925 va_end,
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