about summary refs log tree commit diff
path: root/src/test/rustdoc/inline_cross
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-06-27 18:27:03 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-07-02 13:19:04 +0200
commit2453946b1d64570f52f2f976ca1e8c2a3e4eacc2 (patch)
treef9d4fe1405199420abc15f4a565c0634b31f8b92 /src/test/rustdoc/inline_cross
parentcdabdfa104a3c0e7ba3ff2b37f967eb0e5000aae (diff)
downloadrust-2453946b1d64570f52f2f976ca1e8c2a3e4eacc2.tar.gz
rust-2453946b1d64570f52f2f976ca1e8c2a3e4eacc2.zip
Update rustdoc tests
Diffstat (limited to 'src/test/rustdoc/inline_cross')
-rw-r--r--src/test/rustdoc/inline_cross/impl_trait.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/inline_cross/impl_trait.rs b/src/test/rustdoc/inline_cross/impl_trait.rs
index 6f4a48c83c0..e3a166b3d0e 100644
--- a/src/test/rustdoc/inline_cross/impl_trait.rs
+++ b/src/test/rustdoc/inline_cross/impl_trait.rs
@@ -31,8 +31,8 @@ pub use impl_trait_aux::func4;
 pub use impl_trait_aux::async_fn;
 
 // @has impl_trait/struct.Foo.html
-// @has - '//code[@id="method.v"]' "pub fn method<'a>(_x: impl Clone + Into<Vec<u8>> + 'a)"
-// @!has - '//code[@id="method.v"]' 'where'
+// @has - '//*[@id="method.method"]//code' "pub fn method<'a>(_x: impl Clone + Into<Vec<u8>> + 'a)"
+// @!has - '//*[@id="method.method"]//code' 'where'
 pub use impl_trait_aux::Foo;
 
 // @has impl_trait/struct.Bar.html