rust/src/test/ui/span/issue-23827.stderr

16 lines
461 B
Plaintext
Raw Normal View History

error[E0046]: not all trait items implemented, missing: `Output`
--> $DIR/issue-23827.rs:36:1
|
36 | / impl<C: Component> FnOnce<(C,)> for Prototype {
37 | | //~^ ERROR E0046
38 | | extern "rust-call" fn call_once(self, (comp,): (C,)) -> Prototype {
39 | | Fn::call(&self, (comp,))
40 | | }
41 | | }
| |_^ missing `Output` in implementation
|
= note: `Output` from trait: `type Output;`
error: aborting due to previous error