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() { }