]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/bound-normalization.rs
Rollup merge of #105641 - Amanieu:btree_cursor, r=m-ou-se
[rust.git] / tests / ui / async-await / bound-normalization.rs
1 // check-pass
2 // edition:2018
3
4 // See issue 60414
5
6 trait Trait {
7     type Assoc;
8 }
9
10 async fn foo<T: Trait<Assoc=()>>() -> T::Assoc {
11     ()
12 }
13
14 fn main() {}