3 // @has 'foo/struct.Foo.html'
6 // @has - '//*[@class="docblock"]' 'Hello empty impl block!'
7 // @has - '//*[@class="item-info"]' 'This impl block contains no items.'
8 /// Hello empty impl block!
10 // We ensure that this empty impl block without doc isn't rendered.
11 // @count - '//*[@class="impl has-srclink"]' 'impl Foo' 1
14 // Just to ensure that empty trait impl blocks are rendered.
18 // @has 'foo/struct.Another.html'
19 // @has - '//h3[@class="code-header in-band"]' 'impl Bar for Another'
20 impl Bar for Another {}