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

Move needless_pass_by_ref_mut: suspicious -> nursery #11596

Merged
merged 2 commits into from Oct 2, 2023

Conversation

blyxyas
Copy link
Member

@blyxyas blyxyas commented Oct 2, 2023

[Related to this Zulip thread]

needless_pass_by_ref_mut has been released with some important bugs (notably having a lot of reported false positives and an ICE). So it may not be really ready for being in stable until these problems are solved. This PR changes the lint's category from suspicious to nursery, just that.
changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Oct 2, 2023

r? @Jarcho

(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 Oct 2, 2023
@Jarcho Jarcho added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 2, 2023
@Jarcho
Copy link
Contributor

Jarcho commented Oct 2, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

📌 Commit 2705d62 has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

⌛ Testing commit 2705d62 with merge 4b9258e...

bors added a commit that referenced this pull request Oct 2, 2023
Move `needless_pass_by_ref_mut`: `suspicious` -> `nursery`

[Related to [this Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/needless_pass_by_ref_mut.20isn't.20ready.20for.20stable)]

`needless_pass_by_ref_mut` has been released with some important bugs (notably having a lot of reported false positives and an ICE). So it may not be really ready for being in stable until these problems are solved. This PR changes the lint's category from `suspicious` to `nursery`, just that.
changelog: none
@Jarcho
Copy link
Contributor

Jarcho commented Oct 2, 2023

@bors r-

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

☀️ Try build successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Build commit: 4b9258e (4b9258ed0d102ea606763f12f2f5fe14ee517ab6)

@Jarcho
Copy link
Contributor

Jarcho commented Oct 2, 2023

The changes to the other tests aren't needed, they should only need to be blessed. needless_pass_by_ref_mut should have been allowed on those tests in the first place.

@blyxyas
Copy link
Member Author

blyxyas commented Oct 2, 2023

Oh, you're right. I'll change those right now.

@blyxyas blyxyas force-pushed the fix-fp-needless_pass_by_ref_mut branch from 2705d62 to 07e6329 Compare October 2, 2023 18:15
@Jarcho
Copy link
Contributor

Jarcho commented Oct 2, 2023

One more time. @bors r+

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

📌 Commit 07e6329 has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

⌛ Testing commit 07e6329 with merge 08c429f...

@bors
Copy link
Collaborator

bors commented Oct 2, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Jarcho
Pushing 08c429f to master...

@bors bors merged commit 08c429f into rust-lang:master Oct 2, 2023
5 checks passed
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Oct 2, 2023
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Oct 3, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 3, 2023
…Simulacrum

[stable] 1.73.0 release

Still needs a clippy backport (rust-lang/rust-clippy#11596).

r? `@Mark-Simulacrum`
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 3, 2023
…Simulacrum

[stable] 1.73.0 release

Still needs a clippy backport (rust-lang/rust-clippy#11596).

r? `@Mark-Simulacrum`
xobs pushed a commit to betrusted-io/rust that referenced this pull request Oct 3, 2023
@blyxyas blyxyas deleted the fix-fp-needless_pass_by_ref_mut branch October 5, 2023 09:02
plietar pushed a commit to plietar/rust that referenced this pull request Oct 18, 2023
@flip1995 flip1995 removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 9, 2023
@flip1995 flip1995 added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Nov 9, 2023
@xFrednet xFrednet removed the beta-accepted Accepted for backporting to the compiler in the beta channel. label Dec 26, 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
Development

Successfully merging this pull request may close these issues.

None yet

6 participants