Skip to content

Deprecate cognitive_complexity lint #15094

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samueltardieu
Copy link
Contributor

This also deprecates the cyclomatic_complexity lint which had been renamed into cognitive_complexity back in 2019.

See discussion on Zulip.

changelog: [cognitive_complexity]: deprecated lint

@rustbot
Copy link
Collaborator

rustbot commented Jun 21, 2025

r? @dswij

rustbot has assigned @dswij.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 21, 2025
@samueltardieu samueltardieu force-pushed the deprecate-cognitive-complexity-lint branch 2 times, most recently from e376123 to b401223 Compare June 21, 2025 08:06
This also deprecates the `cyclomatic_complexity` lint which had been
renamed into `cognitive_complexity` back in 2019.
@samueltardieu samueltardieu force-pushed the deprecate-cognitive-complexity-lint branch from b401223 to d5b60a4 Compare June 21, 2025 08:11
@dswij
Copy link
Member

dswij commented Jun 21, 2025

Are we deprecating it in this release?

@samueltardieu
Copy link
Contributor Author

It would be for 1.90, so in about 13 weeks.

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.

3 participants