2016-10-23 20:54:31 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `Output`
|
|
|
|
--> $DIR/issue-23827.rs:36:1
|
|
|
|
|
|
2017-04-14 18:38:10 -05:00
|
|
|
36 | / impl<C: Component> FnOnce<(C,)> for Prototype {
|
2016-10-23 19:22:06 -05:00
|
|
|
37 | | //~^ ERROR E0046
|
2017-12-10 14:29:24 -06:00
|
|
|
38 | | extern "rust-call" fn call_once(self, (comp,): (C,)) -> Prototype {
|
|
|
|
39 | | Fn::call(&self, (comp,))
|
|
|
|
40 | | }
|
|
|
|
41 | | }
|
2017-04-14 18:38:10 -05:00
|
|
|
| |_^ missing `Output` in implementation
|
2016-10-23 20:54:31 -05:00
|
|
|
|
|
|
|
|
= note: `Output` from trait: `type Output;`
|
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2016-10-23 20:54:31 -05:00
|
|
|
|