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