1 // build-pass (FIXME(62277): could be check-pass?)
2 #![feature(specialization)]
17 pub struct Parent<A, T>(A, T);
19 impl<A, T> Delta for Parent<A, T>
20 where A: Alpha<T::Handle>,
22 T::Handle: Beta<Event = <Handle as Beta>::Event> {
24 default fn process(&self) {
29 impl<A, T> Delta for Parent<A, T>
30 where A: Alpha<T::Handle> + Alpha<Handle>,
32 T::Handle: Beta<Event = <Handle as Beta>::Event> {
40 impl Beta for Handle {