@@ -22,36 +22,36 @@ pub trait Foo {
2222
2323pub struct X ;
2424
25- //@has 'foo/struct.X.html'
26- //@count - '//*[@id="impl-Bob-for-X"]' 1
27- //@count - '//*[@id="impl-Bob-for-X"]/*[@class="item-info"]' 0
28- //@count - '//*[@id="impl-Trait-for-X"]' 1
29- //@count - '//*[@id="impl-Trait-for-X"]/*[@class="item-info"]' 0
25+ //@ has 'foo/struct.X.html'
26+ //@ count - '//*[@id="impl-Bob-for-X"]' 1
27+ //@ count - '//*[@id="impl-Bob-for-X"]/*[@class="item-info"]' 1
28+ //@ count - '//*[@id="impl-Trait-for-X"]' 1
29+ //@ count - '//*[@id="impl-Trait-for-X"]/*[@class="item-info"]' 1
3030
3131// If you need to update this XPath, in particular `item-info`, update all
3232// the others in this file.
33- //@count - '//*[@id="impl-Foo-for-X"]/*[@class="item-info"]' 1
33+ //@ count - '//*[@id="impl-Foo-for-X"]/*[@class="item-info"]' 1
3434
35- //@has 'foo/trait.Trait.html'
36- //@count - '//*[@id="impl-Trait-for-X"]' 1
37- //@count - '//*[@id="impl-Trait-for-X"]/*[@class="item-info"]' 0
35+ //@ has 'foo/trait.Trait.html'
36+ //@ count - '//*[@id="impl-Trait-for-X"]' 1
37+ //@ count - '//*[@id="impl-Trait-for-X"]/*[@class="item-info"]' 1
3838#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
3939#[ doc( auto_cfg( hide( target_arch, values( "wasm32" ) ) ) ) ]
4040mod imp {
4141 impl super :: Trait for super :: X { fn f ( & self ) { } }
4242}
4343
44- //@has 'foo/trait.Bob.html'
45- //@count - '//*[@id="impl-Bob-for-X"]' 1
46- //@count - '//*[@id="impl-Bob-for-X"]/*[@class="item-info"]' 0
44+ //@ has 'foo/trait.Bob.html'
45+ //@ count - '//*[@id="impl-Bob-for-X"]' 1
46+ //@ count - '//*[@id="impl-Bob-for-X"]/*[@class="item-info"]' 1
4747#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
4848#[ doc( auto_cfg = false ) ]
4949mod imp2 {
5050 impl super :: Bob for super :: X { fn bob ( & self ) { } }
5151}
5252
53- //@has 'foo/trait.Foo.html'
54- //@count - '//*[@id="impl-Foo-for-X"]/*[@class="item-info"]' 1
53+ //@ has 'foo/trait.Foo.html'
54+ //@ count - '//*[@id="impl-Foo-for-X"]/*[@class="item-info"]' 1
5555// We use this to force xpath tests to be updated if `item-info` class is changed.
5656#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
5757mod imp3 {
@@ -60,9 +60,9 @@ mod imp3 {
6060
6161pub struct Y ;
6262
63- //@has 'foo/struct.Y.html'
64- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]' 1
65- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]/*[@class="item-info"]' 0
63+ //@ has 'foo/struct.Y.html'
64+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]' 1
65+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]/*[@class="item-info"]' 0
6666#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
6767#[ doc( auto_cfg( hide( target_arch, values( "wasm32" ) ) ) ) ]
6868mod imp4 {
@@ -71,9 +71,9 @@ mod imp4 {
7171
7272pub struct Z ;
7373
74- //@has 'foo/struct.Z.html'
75- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]' 1
76- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]/*[@class="item-info"]' 0
74+ //@ has 'foo/struct.Z.html'
75+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]' 1
76+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]/*[@class="item-info"]' 0
7777#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
7878#[ doc( auto_cfg = false ) ]
7979mod imp5 {
@@ -83,9 +83,9 @@ mod imp5 {
8383// The "witness" which has the item info.
8484pub struct W ;
8585
86- //@has 'foo/struct.W.html'
87- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]' 1
88- //@count - '//*[@id="implementations-list"]/*[@class="impl-items"]/*[@class="item-info"]' 1
86+ //@ has 'foo/struct.W.html'
87+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]' 1
88+ //@ count - '//*[@id="implementations-list"]/ /*[@class="impl-items"]/*[@class="item-info"]' 1
8989#[ doc( cfg( any( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
9090mod imp6 {
9191 impl super :: W { pub fn plain_auto ( ) { } }
0 commit comments