round-based-protocol icon indicating copy to clipboard operation
round-based-protocol copied to clipboard

higher-order future compile error when wrapping AsyncProtocol into another future

Open 35359595 opened this issue 2 years ago • 0 comments

In this repo is minimal code to reproduce the issue: https://github.com/35359595/mpecdsa-future-error

There's a know issue with the compiler described here: https://github.com/rust-lang/rust/issues/102211#issuecomment-1380167541

In general, some internal future[s] of AsyncProtocol::run() have to be .boxed(). Please take a look.

35359595 avatar Jan 22 '23 15:01 35359595