rust/tests/ui/traits/next-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
114 B
Rust
Raw Normal View History

2023-12-14 12:11:28 +00:00
//@ compile-flags: -Znext-solver
//@ check-pass
fn needs_send(_: impl Send) {}
fn main() {
needs_send(1);
}