Add lint to check if non-inlined local reexports have documentation#108001
Add lint to check if non-inlined local reexports have documentation#108001GuillaumeGomez wants to merge 4 commits intorust-lang:mainfrom
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