Skip to content

Ignore more type aliases in unnecessary_cast #10927

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 2 commits into from
Jun 12, 2023

Conversation

Centri3
Copy link
Member

@Centri3 Centri3 commented Jun 11, 2023

Fixes #10555

changelog: [unnecessary_cast]: No longer lints cast from locals that are type aliases

@rustbot
Copy link
Collaborator

rustbot commented Jun 11, 2023

r? @Manishearth

(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 11, 2023
@Centri3 Centri3 force-pushed the unnecessary_cast branch from dcdf8cd to bb2132b Compare June 11, 2023 11:56
ignore more type aliases in unnecessary_cast
@Centri3 Centri3 force-pushed the unnecessary_cast branch from bb2132b to 4c7bc17 Compare June 11, 2023 11:59
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jun 12, 2023

📌 Commit 3822441 has been approved by Manishearth

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 12, 2023

⌛ Testing commit 3822441 with merge edaf740...

@bors
Copy link
Contributor

bors commented Jun 12, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing edaf740 to master...

@bors bors merged commit edaf740 into rust-lang:master Jun 12, 2023
@Centri3 Centri3 deleted the unnecessary_cast branch June 12, 2023 08:13
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.

unnecessary_cast on as u64 for a c_ulong
4 participants