]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/pub-use-extern-macros.rs
fix @!has conditions in pub-use-extern-macros test
[rust.git] / src / test / rustdoc / pub-use-extern-macros.rs
index 2c1f2bf0be4f4a48568b25bc59a6037fff452152..a6e707cc2adea7bc28bc4cb87df31cf7c339f10e 100644 (file)
 extern crate macros;
 
 // @has pub_use_extern_macros/macro.bar.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::bar;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::bar;'
 pub use macros::bar;
 
 // @has pub_use_extern_macros/macro.baz.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::baz;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::baz;'
 #[doc(inline)]
 pub use macros::baz;
 
 // @has pub_use_extern_macros/macro.quux.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::quux;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::quux;'
 #[doc(hidden)]
 pub use macros::quux;