]>
git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/issue-64130-3-other.rs
1 #![feature(auto_traits)]
2 #![feature(negative_impls)]
5 // This tests 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
) {}
26 //~^ ERROR the trait bound `Foo: Qux` is not satisfied in `impl Future<Output = ()>`