Uh oh!
There was an error while loading. Please reload this page.
Support impl Trait in inlined documentation - #61613
Conversation
rust-highfive
commented
Jun 7, 2019
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 |
bors
commented
Jun 21, 2019
☔ The latest upstream changes (presumably #60293) made this pull request unmergeable. Please resolve the merge conflicts. |
ollie27
left a comment
There was a problem hiding this comment.
Sorry for the late review.
Even with the (i as u32) -> param.index change I suggested there is still a problem with things like pub fn h(_x: impl Iterator<Item = u8>) {}, they render as:
The issue is that rustdoc uses simplify::where_clauses to convert the equality predicates into type bindings so that needs to be run before moving where predicates that are actually part of impl traits into cx.impl_trait_bounds. We could leave fixing this to a follow up PR though.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ollie27
commented
Jul 8, 2019
Looks good, thanks! @bors r+ |
bors
commented
Jul 8, 2019
📌 Commit ea3e804 has been approved by |
Support `impl Trait` in inlined documentation `impl Trait` in argument position was not properly rendered when inlined from other crates. ([a live example on docs.rs](https://docs.rs/libp2p/0.8.1/libp2p/floodsub/struct.Floodsub.html#method.unsubscribe))  ↓ 
Rollup of 4 pull requests Successful merges: - #61613 (Support `impl Trait` in inlined documentation) - #62090 (typeck: merge opaque type inference logic) - #62403 (Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait) - #62494 (Remove unused dependencies) Failed merges: r? @ghost
bors
commented
Jul 9, 2019
⌛ Testing commit ea3e804 with merge 0ab453ada4ea66b0902b62d5db1648c0c9e0c69e... |
Centril
commented
Jul 9, 2019
Failed in #62509 (comment), @bors r- |
Centril
commented
Jul 9, 2019
@bors retry |
I guess test failure on one platform was caused by indeterminism of |
sinkuu
commented
Jul 16, 2019
@ollie27 Could you re-approve? |
bors
commented
Aug 11, 2019
☔ The latest upstream changes (presumably #63471) made this pull request unmergeable. Please resolve the merge conflicts. |
JohnCSimon
commented
Aug 17, 2019
sinkuu
commented
Aug 19, 2019
Rebased. |
ollie27
commented
Aug 25, 2019
Let's give this another go. @bors r+ |
bors
commented
Aug 25, 2019
📌 Commit 1fe6160 has been approved by |
bors
commented
Aug 25, 2019
Support `impl Trait` in inlined documentation `impl Trait` in argument position was not properly rendered when inlined from other crates. ([a live example on docs.rs](https://docs.rs/libp2p/0.8.1/libp2p/floodsub/struct.Floodsub.html#method.unsubscribe))  ↓ 
bors
commented
Aug 25, 2019
☀️ Test successful - checks-azure |
impl Traitin argument position was not properly rendered when inlined from other crates. (a live example on docs.rs)↓