-
Notifications
You must be signed in to change notification settings - Fork 13.4k
add auto-impl for primitive type #50533
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
Conversation
If it's because you don't know how to force a primitive page to appear, you can do that by creating an empty module in a crate root and tagging it with |
41eec63
to
8274a8e
Compare
Seems more complicated than just doing this. I'll need to investigate further... |
Some investigation today: Only having a module tagged with Strangely, this works for (EDIT: That "re-export something to pull in the traits" trick feels like a huge hack, but then again, pulling in primitives like this is also a bit of a hack, so i guess it balances out? 🤷♀️) |
More discussion has uncovered that the "impl inlining" code uses this table to reference the list of primitives, which does not include an entry for |
8274a8e
to
09b8e39
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The last rebase only includes a test, it does not address the "no |
I'll fix tidy this evening. |
09b8e39
to
564511e
Compare
@bors r+ |
📌 Commit 564511e has been approved by |
…eavus add auto-impl for primitive type Part of #50431. I have no clue how to test this though with the rustdoc test suite... r? @QuietMisdreavus
☀️ Test successful - status-appveyor, status-travis |
Part of #50431.
I have no clue how to test this though with the rustdoc test suite...
r? @QuietMisdreavus