Bernhard Schuster c3e45a04fc [orchestra] fix: require the initialization with F: FnOnce to be Send (#6051)
* add regression test for missing Send requirement

* fix: require the initialization with `F: FnOnce` to be `Send` as well

If creating intermediate variables of the builder type within
a future, rustc will complain about the future not being send,
while the thing itself isn't even using the closure based field
initialization. Adding an additional bound, resolves this and
pushes the error message "closer" to the user, and out of the
generated code.

* import fixins
2022-09-26 22:11:36 +02:00
S
Description
No description provided
529 MiB
Languages
Rust 99.8%
Shell 0.2%