1 #![crate_name = "rustdoc_test"]
5 // @has search-index.js Foo
11 pub fn test_method() {} // @has - test_method
12 fn priv_method() {} // @!has - priv_method
15 pub trait PrivateTrait {
16 fn trait_method(&self) {} // @!has - priv_method
23 // @!has search-index.js Target
25 fn deref(&self) -> &Bar { self }