File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
// regression test for https://github.com/rust-lang/rust/issues/138112
5
5
6
- //@ has 'foo/fn.foo.html' '//div[@class="stab portability"]' 'Available nowhere'
6
+ //@ has 'foo/index.html'
7
+ //@ has - '//*[@class="stab portability"]/@title' 'Available nowhere'
8
+
9
+ //@ count 'foo/fn.foo.html' '//*[@class="stab portability"]' 1
10
+ //@ has 'foo/fn.foo.html' '//*[@class="stab portability"]' 'Available nowhere'
7
11
#[ doc( cfg( false ) ) ]
8
12
pub fn foo ( ) { }
9
13
10
- // a cfg(true) will simply be ommited , as it is the same as no cfg.
11
- //@ !has 'foo/fn.bar.html' '//div [@class="stab portability"]' ''
14
+ // a cfg(true) will simply be omitted , as it is the same as no cfg.
15
+ //@ count 'foo/fn.bar.html' '//* [@class="stab portability"]' 0
12
16
#[ doc( cfg( true ) ) ]
13
17
pub fn bar ( ) { }
You can’t perform that action at this time.
0 commit comments