fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
564 B12 linesraw
1error[E0046]: not all trait items implemented, missing: `Error`, `try_from`
2  --> $DIR/issue-74047.rs:14:1
3   |
4LL | 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(_: OtherStream) -> Result<Self, <Self as TryFrom<OtherStream>>::Error> { todo!() }`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0046`.