summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/int-var-is-send.rs
blob: 083aa90e1f64eb2aca849cfd92f5f451730243fe (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Ztrait-solver=next
// check-pass

fn needs_send(_: impl Send) {}

fn main() {
    needs_send(1);
}