]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-74047.stderr
Rollup merge of #75162 - poliorcetics:move-documentation-fix, r=jyn514
[rust.git] / src / test / ui / 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) -> std::result::Result<Self, <Self as std::convert::TryFrom<T>>::Error> { todo!() }`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0046`.