1 // compile-flags:-Z unstable-options --generate-redirect-pages
10 pub fn static_foo() {}
15 fn deref(&self) -> &Foo { loop {} }
18 // @has issue_19190/Bar.t.html
19 // @has issue_19190/struct.Bar.html
20 // @has - '//*[@id="foo.v"]' 'fn foo(&self)'
21 // @has - '//*[@id="method.foo"]' 'fn foo(&self)'
22 // @!has - '//*[@id="static_foo.v"]' 'fn static_foo()'
23 // @!has - '//*[@id="method.static_foo"]' 'fn static_foo()'