3 // @has 'foo/struct.Bar.html'
4 // @has '-' '//*[@id="deref-methods"]' 'Methods from Deref<Target = FooB>'
5 // @has '-' '//*[@class="impl-items"]//*[@id="method.happy"]' 'pub fn happy(&self)'
6 // @has '-' '//*[@class="sidebar-title"]' 'Methods from Deref<Target=FooB>'
7 // @has '-' '//*[@class="sidebar-links"]/a[@href="#method.happy"]' 'happy'
12 pub fn happy(&self) {}
16 impl std::ops::Deref for Bar {
18 fn deref(&self) -> &FooB { unimplemented!() }