Skip to content

Conversation

hkBst
Copy link
Member

@hkBst hkBst commented Oct 6, 2025

No description provided.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 6, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 6, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-20-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u16`, found `u8`
   | |                               |
   | |                               expected because this is `u16`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
88 |   impl_from!(u8 => u16, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u8`, found `u16`
   | |                               |
   | |                               expected because this is `u8`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
88 |   impl_from!(u8 => u16, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u32`, found `u8`
   | |                               |
   | |                               expected because this is `u32`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
89 |   impl_from!(u8 => u32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u8`, found `u32`
   | |                               |
   | |                               expected because this is `u8`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
89 |   impl_from!(u8 => u32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u64`, found `u8`
   | |                               |
   | |                               expected because this is `u64`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
90 |   impl_from!(u8 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u8`, found `u64`
   | |                               |
   | |                               expected because this is `u8`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
90 |   impl_from!(u8 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u128`, found `u8`
   | |                               |
   | |                               expected because this is `u128`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
91 |   impl_from!(u8 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   --------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u8`, found `u128`
   | |                               |
   | |                               expected because this is `u8`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
91 |   impl_from!(u8 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   --------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `usize`, found `u8`
   | |                               |
   | |                               expected because this is `usize`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
92 |   impl_from!(u8 => usize, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   ---------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u8`, found `usize`
   | |                               |
   | |                               expected because this is `u8`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
92 |   impl_from!(u8 => usize, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   ---------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u32`, found `u16`
   | |                               |
   | |                               expected because this is `u32`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
93 |   impl_from!(u16 => u32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u16`, found `u32`
   | |                               |
   | |                               expected because this is `u16`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
93 |   impl_from!(u16 => u32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u64`, found `u16`
   | |                               |
   | |                               expected because this is `u64`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
94 |   impl_from!(u16 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u16`, found `u64`
   | |                               |
   | |                               expected because this is `u16`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
94 |   impl_from!(u16 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u128`, found `u16`
   | |                               |
   | |                               expected because this is `u128`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
95 |   impl_from!(u16 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u16`, found `u128`
   | |                               |
   | |                               expected because this is `u16`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
95 |   impl_from!(u16 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u64`, found `u32`
   | |                               |
   | |                               expected because this is `u64`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
96 |   impl_from!(u32 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u32`, found `u64`
   | |                               |
   | |                               expected because this is `u32`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
96 |   impl_from!(u32 => u64, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
   |   --------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u128`, found `u32`
   | |                               |
   | |                               expected because this is `u128`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
97 |   impl_from!(u32 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u32`, found `u128`
   | |                               |
   | |                               expected because this is `u32`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
97 |   impl_from!(u32 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:79:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u128`, found `u64`
   | |                               |
   | |                               expected because this is `u128`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
98 |   impl_from!(u64 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
  --> library/core/src/convert/num.rs:80:48
   |
71 | / macro_rules! impl_from {
72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
73 | |         #[$attr]
74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...  |
80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
   | |                               -------------    ^^^^^^^^^^^^^ expected `u64`, found `u128`
   | |                               |
   | |                               expected because this is `u64`
...  |
85 | | }
   | |_- in this expansion of `impl_from!`
...
98 |   impl_from!(u64 => u128, #[stable(feature = "i128", since = "1.26.0")]);
   |   ---------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
   --> library/core/src/convert/num.rs:79:48
    |
 71 | / macro_rules! impl_from {
 72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
 73 | |         #[$attr]
 74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...   |
 79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
    | |                               -------------    ^^^^^^^^^^^^^ expected `i16`, found `i8`
    | |                               |
    | |                               expected because this is `i16`
...   |
 85 | | }
    | |_- in this expansion of `impl_from!`
...
101 |   impl_from!(i8 => i16, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
    |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
   --> library/core/src/convert/num.rs:80:48
    |
 71 | / macro_rules! impl_from {
 72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
 73 | |         #[$attr]
 74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...   |
 80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
    | |                               -------------    ^^^^^^^^^^^^^ expected `i8`, found `i16`
    | |                               |
    | |                               expected because this is `i8`
...   |
 85 | | }
    | |_- in this expansion of `impl_from!`
...
101 |   impl_from!(i8 => i16, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
    |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
   --> library/core/src/convert/num.rs:79:48
    |
 71 | / macro_rules! impl_from {
 72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
 73 | |         #[$attr]
 74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...   |
 79 | |                 debug_assert!(<$large>::MIN <= <$small>::MIN);
    | |                               -------------    ^^^^^^^^^^^^^ expected `i32`, found `i8`
    | |                               |
    | |                               expected because this is `i32`
...   |
 85 | | }
    | |_- in this expansion of `impl_from!`
...
102 |   impl_from!(i8 => i32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
    |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
   --> library/core/src/convert/num.rs:80:48
    |
 71 | / macro_rules! impl_from {
 72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
 73 | |         #[$attr]
 74 | |         #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
...   |
 80 | |                 debug_assert!(<$small>::MAX <= <$large>::MAX);
    | |                               -------------    ^^^^^^^^^^^^^ expected `i8`, found `i32`
    | |                               |
    | |                               expected because this is `i8`
...   |
 85 | | }
    | |_- in this expansion of `impl_from!`
...
102 |   impl_from!(i8 => i32, #[stable(feature = "lossless_int_conv", since = "1.5.0")]);
    |   -------------------------------------------------------------------------------- in this macro invocation

error[E0308]: mismatched types
   --> library/core/src/convert/num.rs:79:48
    |
 71 | / macro_rules! impl_from {
 72 | |     ($small:ty => $large:ty, #[$attr:meta]) => {
 73 | |         #[$attr]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants