]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/bound-normalization.rs
Auto merge of #62542 - Centril:rollup-5mpb8tu, r=Centril
[rust.git] / src / test / ui / async-await / bound-normalization.rs
1 // check-pass
2 // edition:2018
3
4 #![feature(async_await)]
5
6 // See issue 60414
7
8 trait Trait {
9     type Assoc;
10 }
11
12 async fn foo<T: Trait<Assoc=()>>() -> T::Assoc {
13     ()
14 }
15
16 fn main() {}