]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/async-await/issue-64130-3-other.rs
1 #![feature(optin_builtin_traits)]
4 // This tests the the unspecialized async-await-specific error when futures don't implement an
5 // auto trait (which is not Send or Sync) due to some type that was captured.
13 fn is_qux
<T
: Qux
>(t
: T
) { }
24 //~^ ERROR the trait bound `Foo: Qux` is not satisfied in `impl std::future::Future`