summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-67893.rs
blob: 359c75f170c397fc555c4b5df699c9be69f01ab3 (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 `MutexGuard<'_, ()>` cannot be sent between threads safely
}