1 #![feature(optin_builtin_traits)]
2 #![feature(negative_impls)]
5 // This tests the the unspecialized async-await-specific error when futures don't implement an
6 // auto trait (which is not Send or Sync) due to some type that was captured.
14 fn is_qux<T: Qux>(t: T) { }
25 //~^ ERROR the trait bound `Foo: Qux` is not satisfied in `impl std::future::Future`