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 // @snapshot bare_fn_matches - '//script[@id="notable-traits-data"]'
12 pub fn bare_fn_matches() -> &'static [SomeStruct] {
16 // @has doc_notable_trait_slice/fn.bare_fn_no_matches.html
17 // @count - '//script[@id="notable-traits-data"]' 0
18 pub fn bare_fn_no_matches() -> &'static [OtherStruct] {