]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/auto-trait-not-send.rs
Update rustdoc tests
[rust.git] / src / test / rustdoc / auto-trait-not-send.rs
index 7bd4f6dbd8ce37c2f2ebe2ca0f70ae017bb8ca24..661d905ab639cb81143eca5ea523524193307b0e 100644 (file)
@@ -1,8 +1,8 @@
 #![crate_name = "foo"]
 
 // @has 'foo/struct.Foo.html'
-// @has - '//*[@id="impl-Send"]' 'impl !Send for Foo'
-// @has - '//*[@id="impl-Sync"]' 'impl !Sync for Foo'
+// @has - '//*[@id="impl-Send-for-Foo"]' 'impl !Send for Foo'
+// @has - '//*[@id="impl-Sync-for-Foo"]' 'impl !Sync for Foo'
 pub struct Foo(*const i8);
 pub trait Whatever: Send {}
 impl<T: Send + ?Sized> Whatever for T {}