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

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

9 lines
118 B
Rust
Raw Normal View History

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