Skip to content

[WIP] Add new lint: std_wildcard_imports #14868

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

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

Conversation

alanbondarun
Copy link

@alanbondarun alanbondarun commented May 22, 2025

changelog: [std_wildcard_imports]: Initial implementation

This fixes #13961.

TODO

  • Fix failed tests from other lints
  • Deal with enum glob imports (e.g. std::cmp::Ordering::*)
  • Add more test cases

@alanbondarun alanbondarun force-pushed the std_wildcard_imports branch 2 times, most recently from d5ff674 to 21b13b3 Compare May 23, 2025 04:48
@alanbondarun alanbondarun force-pushed the std_wildcard_imports branch from 21b13b3 to 3a0a721 Compare May 23, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

std_wildcard_imports to lint against use std::mod::*
1 participant