Uh oh!
There was an error while loading. Please reload this page.
Fix invalid trait generation - #33935
Conversation
3bebdcc to
e315e4eCompareeefriedman
commented
May 29, 2016
That doesn't look quite right. |
GuillaumeGomez
commented
May 29, 2016
Oh indeed. Going back to add missing information then. |
e315e4e to
a8c4911CompareGuillaumeGomez
commented
May 30, 2016
steveklabnik
commented
May 31, 2016
I think conceptually, I like this change, but I am gonna review the code more a bit later. If anyone else is happy with the code, feel free to r+ it. |
steveklabnik
commented
Jun 2, 2016
This seems okay to me, but I am still getting to know rustdoc. @rust-lang/tools do any of you have thoughts on this patch? |
alexcrichton
commented
Jun 5, 2016
The issue this is fixing, #33919, is mostly just a dupe of #14072 which is a general problem that rustdoc doesn't substitute type parameters, so it just shows up this way. In general I think this may be a pretty ad-hoc solution which doesn't actually get us much farther. It looks like this only handles I think this would be best done as a preparation pass during rustdoc, either during the "clean" phase or as a dedicated pass in rustdoc itself. The rendered is already pretty complicated with lots of functions taking lots of arguments, so offloading as much as we can elsewhere seems beneficial. |
GuillaumeGomez
commented
Jun 6, 2016
@alexcrichton: That's what I tried at first but got quickly stuck with my lack of knowledge on the "low" code. I'll try to redo it in the "preparation pass". |
bors
commented
Jul 1, 2016
☔ The latest upstream changes (presumably #34541) made this pull request unmergeable. Please resolve the merge conflicts. |
steveklabnik
commented
Jul 5, 2016
@GuillaumeGomez are you still working on this? |
steveklabnik
commented
Jul 25, 2016
Closing due to a lack of activity, let me know if you want to keep up with this! |
GuillaumeGomez
commented
Jul 25, 2016
Ah damn, didn't see the first comment. I'll, but don't know when. |


Fixes#33919.
r? @steveklabnik
And a screenshot to come along: