3 #![feature(doc_keyword)]
5 // @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
6 // @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
7 // @has foo/index.html '//div[@class="block items"]//a/@href' '#keywords'
8 // @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
9 // @has foo/keyword.match.html '//span[@class="in-band"]' 'Keyword match'
10 // @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'
11 // @has foo/index.html '//a/@href' '../foo/index.html'
12 // @!has foo/foo/index.html
14 #[doc(keyword = "match")]
18 // @has foo/keyword.foo.html '//section[@id="main"]//div[@class="docblock"]//p' 'hello'
19 #[doc(keyword = "foo")]