1 #![feature(doc_notable_trait)]
7 pub struct OtherStruct;
8 impl SomeTrait for &[SomeStruct] {}
10 // @has doc_notable_trait_slice/fn.bare_fn_matches.html
11 // @has - '//code[@class="content"]' 'impl SomeTrait for &[SomeStruct]'
12 pub fn bare_fn_matches() -> &'static [SomeStruct] {
16 // @has doc_notable_trait_slice/fn.bare_fn_no_matches.html
17 // @!has - '//code[@class="content"]' 'impl SomeTrait for &[SomeStruct]'
18 pub fn bare_fn_no_matches() -> &'static [OtherStruct] {