-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Add lint to check if non-inlined local reexports have documentation #108001
base: master
Are you sure you want to change the base?
Add lint to check if non-inlined local reexports have documentation #108001
Conversation
The job Click to see the possible cause of the failure (guessed by this bot)
|
So, the failure is actually quite interesting because if a reexport is itself reexported, then it shouldn't emit a warning. This lint implementation will require a bit more work to take this into account. But before that, does this lint make sense or not? |
I think it does make sense to produce a warning in any case where actually using the doc comment is impractical. |
We have some |
☔ The latest upstream changes (presumably #108934) made this pull request unmergeable. Please resolve the merge conflicts. |
Hello @GuillaumeGomez! This PR has some merge conflicts, what's the status of it? |
I need to reimplement it as described above. I keep this PR open as a reminder for future me when I have time. ^^' |
Fixes #43087.
Everything can't be checked directly from the newly added pass unfortunately since glob reexports have already been inlined at this point.
r? @notriddle