Skip to content

Ignore more type aliases in unnecessary_cast #10942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

Centri3
Copy link
Member

@Centri3 Centri3 commented Jun 13, 2023

This is potentially the worst code I've ever written, and even if not, it's very close to being on par with starb. This will ignore call() as i32 and local_obtained_from_call as i32 now.

This should fix every reasonable way to reproduce #10555, but likely not entirely.

changelog: Ignore more type aliases in unnecessary_cast

@rustbot
Copy link
Collaborator

rustbot commented Jun 13, 2023

r? @llogiq

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 13, 2023
@llogiq
Copy link
Contributor

llogiq commented Jun 16, 2023

I concur that the code isn't exactly beautiful, but it appears to fix the additional test cases, so thank you!

@bors r+

@bors
Copy link
Contributor

bors commented Jun 16, 2023

📌 Commit 357e80e has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 16, 2023

⌛ Testing commit 357e80e with merge 3217f8a...

@bors
Copy link
Contributor

bors commented Jun 16, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 3217f8a to master...

@bors bors merged commit 3217f8a into rust-lang:master Jun 16, 2023
@Centri3 Centri3 deleted the unnecessary_cast branch June 16, 2023 19:37
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.

4 participants