]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-67893.rs
Rollup merge of #90143 - camelid:tidy-2021-followup, r=Mark-Simulacrum
[rust.git] / src / test / ui / async-await / issues / issue-67893.rs
1 // aux-build: issue_67893.rs
2 // edition:2018
3
4 extern crate issue_67893;
5
6 fn g(_: impl Send) {}
7
8 fn main() {
9     g(issue_67893::run())
10     //~^ ERROR generator cannot be sent between threads safely
11 }