Sign in
fuchsia
/
third_party
/
rust
/
1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5
/
.
/
tests
/
ui
/
typeck
/
typeck-default-trait-impl-send-param.rs
blob: 7948cd101ffa93653b412a5381bda9fbaef3477d [
file
] [
log
] [
blame
]
// Test that we do not consider parameter types to be sendable without
// an explicit trait bound.
fn
foo
<
T
>()
{
is_send
::<
T
>()
//~ ERROR E0277
}
fn
is_send
<
T
:
Send
>()
{
}
fn
main
()
{
}