1 pub struct Foo<T> {
2     x: T,
3 }
4 
5 pub trait Bar {
6     type Fuu;
7 
foo(foo: Self::Fuu)8     fn foo(foo: Self::Fuu);
9 }
10 
11 // @has doc_assoc_item/struct.Foo.html '//*[@class="impl has-srclink"]' 'impl<T: Bar<Fuu = u32>> Foo<T>'
12 impl<T: Bar<Fuu = u32>> Foo<T> {
new(t: T) -> Foo<T>13     pub fn new(t: T) -> Foo<T> {
14         Foo {
15             x: t,
16         }
17     }
18 }
19