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 more def paths into clippy_utils::paths #13903

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Conversation

GuillaumeGomez
Copy link
Member

I discovered that there were paths declared in clippy_utils::paths in #13829 so moving a few remaining hardcoded ones in one place.

changelog: Move more def paths into clippy_utils::paths

r? @y21

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Dec 29, 2024
Copy link
Member

@y21 y21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, lgtm.

CI is failing because the invalid_paths internal lint currently doesn't understand char inherent impls. The proper fix might be as simple as adding SimplifiedType::Char here, or if you just want to #[expect(clippy::invalid_paths)] the failing lint here since it isn't really related to this change that's fine too, r=me in any case.

@y21 y21 added this pull request to the merge queue Dec 30, 2024
Merged via the queue into rust-lang:master with commit be49f86 Dec 30, 2024
9 checks passed
@GuillaumeGomez GuillaumeGomez deleted the paths branch December 30, 2024 14:49
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