fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0573]: expected type, found variant `Ok` 2 --> $DIR/issue-106062.rs:15:64 3 | 4LL | async fn connection_handler(handler: impl Sized) -> Result<Ok, std::io::Error> { 5 | ^^ not a type 6 | 7help: try using the variant's enum 8 | 9LL | async fn connection_handler(handler: impl Sized) -> Result<core::result::Result, std::io::Error> { 10 | ~~~~~~~~~~~~~~~~~~~~ 11LL | async fn connection_handler(handler: impl Sized) -> Result<std::result::Result, std::io::Error> { 12 | ~~~~~~~~~~~~~~~~~~~ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0573`.