]>
git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/issue-74047.rs
3 use std
::convert
::{TryFrom, TryInto}
;
7 pub struct OtherStream
;
9 pub async
fn connect() -> io
::Result
<MyStream
> {
10 let stream
: MyStream
= OtherStream
.try_into()?
;
14 impl TryFrom
<OtherStream
> for MyStream {}