File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 11// #26207: Show all methods reachable via Deref impls, recursing through multiple dereferencing
22// levels and across multiple crates.
3+ // For `Deref` on non-foreign types, look at `deref-recursive.rs`.
34
45// @has 'foo/struct.Foo.html'
56// @has '-' '//*[@id="deref-methods-PathBuf"]' 'Methods from Deref<Target = PathBuf>'
Original file line number Diff line number Diff line change 11// #26207: Show all methods reachable via Deref impls, recursing through multiple dereferencing
22// levels if needed.
3+ // For `Deref` on foreign types, look at `deref-recursive-pathbuf.rs`.
34
45// @has 'foo/struct.Foo.html'
56// @has '-' '//*[@id="deref-methods-Bar"]' 'Methods from Deref<Target = Bar>'
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ impl G {
5050}
5151
5252// @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.
5354// @!has '-' '//*[@id="deref-methods-G"]'
5455impl Deref for D {
5556 type Target = E ;
@@ -60,6 +61,7 @@ impl Deref for D {
6061}
6162
6263// @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.
6365// @!has '-' '//*[@id="deref-methods-G"]'
6466impl Deref for E {
6567 type Target = F ;
@@ -70,6 +72,7 @@ impl Deref for E {
7072}
7173
7274// @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.
7376// @!has '-' '//*[@id="deref-methods-G"]'
7477impl Deref for F {
7578 type Target = G ;
You can’t perform that action at this time.
0 commit comments