6

Move `needless_raw_string_hashes` to `pedantic` by Alexendoo · Pull Request #114...

 1 year ago
source link: https://github.com/rust-lang/rust-clippy/pull/11415
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Conversation

Member

@Alexendoo

Alexendoo

commented

Aug 27, 2023

edited by xFrednet

IMO it doesn't improve code enough to be warn by default. It seems to be unclear to some also, but that can probably be remedied separately

changelog: Moved [needless_raw_string_hashes] to pedantic (Now allow-by-default)
#11415

r? @flip1995

rustbot

added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label

Aug 27, 2023

Member

I'm fine with pedantic. Not sure what's wrong in #11402 though, as removing hashes should make no difference unless there's a " with that many or more hashes following it.

Member

Author

My guess is people are removing the r as well, I opened #11416 but didn't link the issue as being fixed by it since I think there's further improvements to be made/maybe there's something we're missing

Alexendoo

added the beta-nominated Nominated for backporting to the compiler in the beta channel. label

Aug 29, 2023

Member

Oh I completely missed this PR. Is this and the Backport still required with the other PR merged?

Member

@bors r+

Reading through the issues, I figure this is required/wanted.

Alexendoo reacted with thumbs up emoji

Contributor

? Commit 1c77b0b has been approved by flip1995

It is now in the queue for this repository.

Contributor

⌛ Testing commit 1c77b0b with merge 29ed6fa...

bors

merged commit 29ed6fa into

rust-lang:master

Sep 28, 2023

5 checks passed

Alexendoo

deleted the needless-raw-string-hashes-pedantic branch

September 28, 2023 12:13

Member

I'm leaning towards letting this change ride the release train without a backport. This lint is already in stable and I don't think the FN/confusion is so bad that we need a beta backport for this. However I'll cherry-pick this commit, so that it at least get's into 1.74.

Alexendoo reacted with thumbs up emoji

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

Sep 28, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Centri3

Centri3 approved these changes

Assignees

flip1995

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

None yet

6 participants

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK