File tree 4 files changed +7
-1
lines changed
4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ pub struct Baz;
22
22
23
23
impl Baz {
24
24
pub fn baz ( & self ) { }
25
+ pub fn static_baz ( ) { }
25
26
}
26
27
27
28
impl Deref for Bar {
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ impl Deref for Bar {
19
19
20
20
// @has issue_19190_2/struct.Bar.html
21
21
// @has - '//*[@id="method.count_ones"]' 'fn count_ones(self) -> u32'
22
-
22
+ // @!has - '//*[@id="method.min_value"]' 'fn min_value() -> i32'
Original file line number Diff line number Diff line change @@ -18,14 +18,17 @@ use issue_19190_3::Baz;
18
18
19
19
// @has issue_19190_3/struct.Foo.html
20
20
// @has - '//*[@id="method.count_ones"]' 'fn count_ones(self) -> u32'
21
+ // @!has - '//*[@id="method.min_value"]' 'fn min_value() -> i32'
21
22
pub use issue_19190_3:: Foo ;
22
23
23
24
// @has issue_19190_3/struct.Bar.html
24
25
// @has - '//*[@id="method.baz"]' 'fn baz(&self)'
26
+ // @!has - '//*[@id="method.static_baz"]' 'fn static_baz()'
25
27
pub use issue_19190_3:: Bar ;
26
28
27
29
// @has issue_19190_3/struct.MyBar.html
28
30
// @has - '//*[@id="method.baz"]' 'fn baz(&self)'
31
+ // @!has - '//*[@id="method.static_baz"]' 'fn static_baz()'
29
32
pub struct MyBar ;
30
33
31
34
impl Deref for MyBar {
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ pub struct Bar;
15
15
16
16
impl Foo {
17
17
pub fn foo ( & self ) { }
18
+ pub fn static_foo ( ) { }
18
19
}
19
20
20
21
impl Deref for Bar {
@@ -24,3 +25,4 @@ impl Deref for Bar {
24
25
25
26
// @has issue_19190/struct.Bar.html
26
27
// @has - '//*[@id="method.foo"]' 'fn foo(&self)'
28
+ // @!has - '//*[@id="method.static_foo"]' 'fn static_foo()'
You can’t perform that action at this time.
0 commit comments