1 #![feature(negative_impls)]
4 // This tests the specialized async-await-specific error when futures don't implement an
5 // auto trait (which is specifically Send) due to some type that was captured.
11 fn is_send<T: Send>(t: T) { }
22 //~^ ERROR future cannot be sent between threads safely