Skip to content

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Sep 29, 2023

Closes #15687

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 29, 2023
@Veykril
Copy link
Member Author

Veykril commented Sep 29, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Sep 29, 2023

📌 Commit a943b19 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 29, 2023

⌛ Testing commit a943b19 with merge 547bcf8...

@bors
Copy link
Contributor

bors commented Sep 29, 2023

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 547bcf8 to master...

@bors bors merged commit 547bcf8 into rust-lang:master Sep 29, 2023
@lnicola lnicola changed the title Make rustc_layout_scalar_valid_range attributes work for non-decimal literals fix: Make rustc_layout_scalar_valid_range attributes work for non-decimal literals Oct 2, 2023
_ => 10,
};

if let Ok(it) = u128::from_str_radix(&text, base) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this is working? u128::from_str_radix("0xffffffff", 16) fails because of the 0x prefix.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I noticed it still not working, that would explain it

@Veykril Veykril deleted the rustc_layout_scalar_valid_range branch October 2, 2023 07:20
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustc_layout_scalar_valid_range_end does not affect niches
4 participants