fix legacy numeric constant diag items
- missed syms for usize/isize - missed diag items on unsigned integers
This commit is contained in:
parent
768408af12
commit
83590ac069
2 changed files with 12 additions and 0 deletions
|
@ -1000,6 +1000,11 @@ symbols! {
|
||||||
is_val_statically_known,
|
is_val_statically_known,
|
||||||
isa_attribute,
|
isa_attribute,
|
||||||
isize,
|
isize,
|
||||||
|
isize_legacy_const_max,
|
||||||
|
isize_legacy_const_min,
|
||||||
|
isize_legacy_fn_max_value,
|
||||||
|
isize_legacy_fn_min_value,
|
||||||
|
isize_legacy_mod,
|
||||||
issue,
|
issue,
|
||||||
issue_5723_bootstrap,
|
issue_5723_bootstrap,
|
||||||
issue_tracker_base_url,
|
issue_tracker_base_url,
|
||||||
|
@ -1910,6 +1915,11 @@ symbols! {
|
||||||
used_with_arg,
|
used_with_arg,
|
||||||
using,
|
using,
|
||||||
usize,
|
usize,
|
||||||
|
usize_legacy_const_max,
|
||||||
|
usize_legacy_const_min,
|
||||||
|
usize_legacy_fn_max_value,
|
||||||
|
usize_legacy_fn_min_value,
|
||||||
|
usize_legacy_mod,
|
||||||
va_arg,
|
va_arg,
|
||||||
va_copy,
|
va_copy,
|
||||||
va_end,
|
va_end,
|
||||||
|
|
|
@ -2972,6 +2972,7 @@ macro_rules! uint_impl {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
|
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
|
||||||
#[deprecated(since = "TBD", note = "replaced by the `MIN` associated constant on this type")]
|
#[deprecated(since = "TBD", note = "replaced by the `MIN` associated constant on this type")]
|
||||||
|
#[rustc_diagnostic_item = concat!(stringify!($SelfT), "_legacy_fn_min_value")]
|
||||||
pub const fn min_value() -> Self { Self::MIN }
|
pub const fn min_value() -> Self { Self::MIN }
|
||||||
|
|
||||||
/// New code should prefer to use
|
/// New code should prefer to use
|
||||||
|
@ -2983,6 +2984,7 @@ macro_rules! uint_impl {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
|
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
|
||||||
#[deprecated(since = "TBD", note = "replaced by the `MAX` associated constant on this type")]
|
#[deprecated(since = "TBD", note = "replaced by the `MAX` associated constant on this type")]
|
||||||
|
#[rustc_diagnostic_item = concat!(stringify!($SelfT), "_legacy_fn_max_value")]
|
||||||
pub const fn max_value() -> Self { Self::MAX }
|
pub const fn max_value() -> Self { Self::MAX }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue