fix(lint): dont embed lint docs in cargo binary#16360
fix(lint): dont embed lint docs in cargo binary#16360weihanglo wants to merge 3 commits intorust-lang:masterfrom
Conversation
|
cc @Muscraft |
Instead we read and concat all lint docs via xtask-lint-docs
This was done in imitation of clippy.
|
Except having everything in one spot, the current approach doesn't really achieve any of those. Still relying on code review. I can add those, though before that we should make sure this is what we want. |
What do you mean? |
|
Before this, we don't have a lint doc template and documented workflow either. And IMO the developer experience is worse in a sense that you might mess up markdown syntax and don't realize until running Anyway, I a fine with the thing we have today, if we don't agree on the proposed direction. It doesn't block anything. |
|
☔ The latest upstream changes (possibly 14116aa) made this pull request unmergeable. Please resolve the merge conflicts. |
|
As #16364 has merged (move each lint to a separate module), this is less than needed. Closing. |
What does this PR try to resolve?
Instead we read and concat all lint docs via xtask-lint-docs
How to test and review this PR?
While the size of lints.md is pretty neglectable,
I found it is unnecessary to embed those though.
It is also easier for us to edit and preview the markdown source.