Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
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
()
{
}