-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remove usage of global variable "inlined_types" #68192
Conversation
Thanks for the PR! I don't feel I'm a good reviewer for it though (never touched rustdoc myself). |
c5048b6
to
46ab8d3
Compare
Fixed the tidy issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the principal of what is going on here, and other than the two less nice to read strings I'm OK with the implementation. I'm going to assume we have some tests covering the presence of synthetic impls, but is it worth writing a test which ensures the aliases=...
attribute is appearing properly?
About the |
46ab8d3
to
871e82b
Compare
Added the test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, the UI is not broken by this -- I've reviewed a number of crates' docs which I'm at least passingly familiar with and things look sane.
@bors r+
📌 Commit 871e82b has been approved by |
Remove usage of global variable "inlined_types" r? @pietroalbini
☀️ Test successful - checks-azure |
r? @pietroalbini