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 Sync) due to some type that was captured.
11 fn is_sync<T: Sync>(t: T) { }
22 //~^ ERROR future cannot be shared between threads safely