summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issues/issue-67893.rs
blob: d73772e5fa0d9b3616287e11efad261464f9dfbf (plain)
1
2
3
4
5
6
7
8
9
10
11
// aux-build: issue_67893.rs
// edition:2018

extern crate issue_67893;

fn g(_: impl Send) {}

fn main() {
    g(issue_67893::run())
    //~^ ERROR future cannot be sent between threads safely
}