mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
12 lines
196 B
Rust
12 lines
196 B
Rust
// 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
|
|
}
|