rust/tests/ui/traits/next-solver/int-var-is-send.rs

9 lines
112 B
Rust

// compile-flags: -Znext-solver
// check-pass
fn needs_send(_: impl Send) {}
fn main() {
needs_send(1);
}