rust/tests/ui/async-await/issues/issue-67893.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
196 B
Rust
Raw Normal View History

2020-04-15 20:09:59 -05:00
// 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
2020-04-15 20:09:59 -05:00
}