about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-02 20:12:00 +0000
committerbors <bors@rust-lang.org>2018-07-02 20:12:00 +0000
commitc8df60a1462b4b83573573c6e08259a731b60a20 (patch)
tree9cbebb0f4f49577abb3f97ef8f622e0ef6b433e7 /src/libstd/sys/unix/stack_overflow.rs
parent9363342be956d1bf7781a3b7455d80fc5d94b1f8 (diff)
parente666c2bd0742cbf88ff9fa26cfc194099a139589 (diff)
downloadrust-c8df60a1462b4b83573573c6e08259a731b60a20.tar.gz
rust-c8df60a1462b4b83573573c6e08259a731b60a20.zip
Auto merge of #51944 - MajorBreakfast:generic-future-obj, r=cramertj
Make custom trait object for `Future` generic

- `TaskObj` -> `FutureObj<'static, ()>`
- The `impl From<...> for FutureObj<'a, T>` impls are impossible because of the type parameter `T`. The impl has to live in libstd, but `FutureObj<'a, T>` is from libcore. Therefore `Into<FutureObj<'a, T>>` was implemented instead. Edit: This didn‘t compile without warnings. I am now using non-generic Form impls.

See https://github.com/rust-lang-nursery/futures-rs/issues/1058

r? @cramertj

Edit: Added lifetime
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions