Skip to content
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

redundant_type_annotations: only pass certain def kinds to type_of #11191

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

Alexendoo
Copy link
Member

@Alexendoo Alexendoo commented Jul 19, 2023

Fixes #11190
Fixes rust-lang/rust#113516

Also adds an is_lint_allowed check to skip the lint when it's not needed

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Jul 19, 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 Jul 19, 2023
@Alexendoo Alexendoo added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jul 19, 2023
@llogiq
Copy link
Contributor

llogiq commented Aug 6, 2023

Thank you!

@bors r+

@bors
Copy link
Contributor

bors commented Aug 6, 2023

📌 Commit d4f735c has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 6, 2023

⌛ Testing commit d4f735c with merge 1fc3d59...

bors added a commit that referenced this pull request Aug 6, 2023
…ogiq

redundant_type_annotations: only pass certain def kinds to type_of

Fixes #11190
Fixes rust-lang/rust#113516

Also adds an `is_lint_allowed` check to skip the lint when it's not needed

changelog: none
@bors
Copy link
Contributor

bors commented Aug 6, 2023

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.

@bors
Copy link
Contributor

bors commented Aug 6, 2023

📌 Commit d4f735c has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 6, 2023

⌛ Testing commit d4f735c with merge 526d115...

@bors
Copy link
Contributor

bors commented Aug 6, 2023

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

@bors bors merged commit 526d115 into rust-lang:master Aug 6, 2023
@Alexendoo Alexendoo deleted the redundant-type-annotations-ice branch August 6, 2023 20:42
@flip1995 flip1995 added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Aug 17, 2023
@flip1995
Copy link
Member

rust-lang/rust#114937

bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 17, 2023
…k-Simulacrum

[beta] Clippy backports for ICE fixes

This backports PRs to beta, that fix ICEs, some lint grouping and FP fixes. Namely:

- rust-lang/rust-clippy#11191
- rust-lang/rust-clippy#11172
- rust-lang/rust-clippy#11130
- rust-lang/rust-clippy#11106
- rust-lang/rust-clippy#11104
- rust-lang/rust-clippy#11077
- rust-lang/rust-clippy#11070 (This PR is not synced to the Rust repo yet, but I will open a separate PR to get it into `master`, before beta is branched: rust-lang#114938)
- rust-lang/rust-clippy#11069

Kind of a big backport, but most of it is tests.

r? `@Mark-Simulacrum`

cc `@Manishearth`
@xFrednet xFrednet removed the beta-accepted Accepted for backporting to the compiler in the beta channel. label Aug 18, 2023
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
6 participants