]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issue-74047.stderr
Rollup merge of #107027 - GuillaumeGomez:rm-extra-removal, r=tmiasko
[rust.git] / tests / ui / async-await / issue-74047.stderr
1 error[E0046]: not all trait items implemented, missing: `Error`, `try_from`
2   --> $DIR/issue-74047.rs:14:1
3    |
4 LL | impl TryFrom<OtherStream> for MyStream {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error`, `try_from` in implementation
6    |
7    = help: implement the missing item: `type Error = Type;`
8    = help: implement the missing item: `fn try_from(_: T) -> Result<Self, <Self as TryFrom<T>>::Error> { todo!() }`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0046`.