]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/search-index.rs
Rollup merge of #100464 - khyperia:lld-icf-on-windows, r=jyn514
[rust.git] / src / test / rustdoc / search-index.rs
index ab2e6e05740211a5a005ecbfd38ff0437ef6df31..d1d05eb886b00e144708c57e697eb7b9a3fba0ad 100644 (file)
@@ -2,25 +2,25 @@
 
 use std::ops::Deref;
 
-// @hastext search-index.js Foo
+// @hasraw search-index.js Foo
 pub use private::Foo;
 
 mod private {
     pub struct Foo;
     impl Foo {
-        pub fn test_method() {} // @hastext - 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 }
 }