]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/typeck-default-trait-impl-send-param.rs
Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup
[rust.git] / src / test / ui / typeck / typeck-default-trait-impl-send-param.rs
1 // Test that we do not consider parameter types to be sendable without
2 // an explicit trait bound.
3
4 fn foo<T>() {
5     is_send::<T>() //~ ERROR E0277
6 }
7
8 fn is_send<T:Send>() {
9 }
10
11 fn main() { }