]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/qpath-associated-type-bound.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / pretty / qpath-associated-type-bound.rs
1 // pp-exact
2
3
4 mod m {
5     pub trait Tr {
6         type Ts: super::Tu;
7     }
8 }
9
10 trait Tu {
11     fn dummy() {}
12 }
13
14 fn foo<T: m::Tr>() { <T as m::Tr>::Ts::dummy(); }
15
16 fn main() {}