]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/qpath-associated-type-bound.rs
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[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() {}