]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/search-index.rs
Rollup merge of #100501 - RalfJung:miri-from-exposed-addr, r=Mark-Simulacrum
[rust.git] / src / test / rustdoc / search-index.rs
index f1b78f17277d1348656754e3f4570091be7cc34f..d1d05eb886b00e144708c57e697eb7b9a3fba0ad 100644 (file)
@@ -2,25 +2,25 @@
 
 use std::ops::Deref;
 
-// @has search-index.js Foo
+// @hasraw search-index.js Foo
 pub use private::Foo;
 
 mod private {
     pub struct Foo;
     impl Foo {
-        pub fn test_method() {} // @has - test_method
-        fn priv_method() {} // @!has - priv_method
+        pub fn test_method() {} // @hasraw - test_method
+        fn priv_method() {} // @!hasraw - priv_method
     }
 
     pub trait PrivateTrait {
-        fn trait_method(&self) {} // @!has - priv_method
+        fn trait_method(&self) {} // @!hasraw - priv_method
     }
 }
 
 pub struct Bar;
 
 impl Deref for Bar {
-    // @!has search-index.js Target
+    // @!hasraw search-index.js Target
     type Target = Bar;
     fn deref(&self) -> &Bar { self }
 }