3 // Cyclic deref with the parent (which is not the top parent).
12 // @has recursive_deref/struct.A.html '//h3[@class="code-header in-band"]' 'impl Deref for A'
13 // @has '-' '//*[@class="impl-items"]//*[@id="method.c"]' 'pub fn c(&self)'
17 fn deref(&self) -> &Self::Target {
22 // @has recursive_deref/struct.B.html '//h3[@class="code-header in-band"]' 'impl Deref for B'
23 // @has '-' '//*[@class="impl-items"]//*[@id="method.c"]' 'pub fn c(&self)'
27 fn deref(&self) -> &Self::Target {
32 // @has recursive_deref/struct.C.html '//h3[@class="code-header in-band"]' 'impl Deref for C'
36 fn deref(&self) -> &Self::Target {
41 // Cyclic deref with the grand-parent (which is not the top parent).
48 // There is no "self" parameter so it shouldn't be listed!
52 // @has recursive_deref/struct.D.html '//h3[@class="code-header in-band"]' 'impl Deref for D'
53 // We also check that `G::g` method isn't rendered because there is no `self` argument.
54 // @!has '-' '//*[@id="deref-methods-G"]' ''
58 fn deref(&self) -> &Self::Target {
63 // @has recursive_deref/struct.E.html '//h3[@class="code-header in-band"]' 'impl Deref for E'
64 // We also check that `G::g` method isn't rendered because there is no `self` argument.
65 // @!has '-' '//*[@id="deref-methods-G"]' ''
69 fn deref(&self) -> &Self::Target {
74 // @has recursive_deref/struct.F.html '//h3[@class="code-header in-band"]' 'impl Deref for F'
75 // We also check that `G::g` method isn't rendered because there is no `self` argument.
76 // @!has '-' '//*[@id="deref-methods-G"]' ''
80 fn deref(&self) -> &Self::Target {
85 // @has recursive_deref/struct.G.html '//h3[@class="code-header in-band"]' 'impl Deref for G'
89 fn deref(&self) -> &Self::Target {
94 // Cyclic deref with top parent.
99 // There is no "self" parameter so it shouldn't be listed!
103 // @has recursive_deref/struct.H.html '//h3[@class="code-header in-band"]' 'impl Deref for H'
104 // @!has '-' '//*[@id="deref-methods-I"]' ''
108 fn deref(&self) -> &Self::Target {
113 // @has recursive_deref/struct.I.html '//h3[@class="code-header in-band"]' 'impl Deref for I'
117 fn deref(&self) -> &Self::Target {