]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-67893.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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 future cannot be sent between threads safely
11 }