1a4d82fc |
1 | // Basic test for traits inheriting from the builtin kinds. |
970d7e83 |
2 | |
1a4d82fc |
3 | trait Foo : Send { } |
970d7e83 |
4 | |
8faf50e0 XL |
5 | impl <T: Sync+'static> Foo for T { } |
6 | //~^ ERROR `T` cannot be sent between threads safely |
1a4d82fc JJ |
7 | |
8 | fn main() { } |