1 // ignore-tidy-linelength
6 // @has 'foo/index.html'
7 // @matches '-' '//*[@class="module-item"]//*[@class="stab portability"]' '^sync$'
8 // @has '-' '//*[@class="module-item"]//*[@class="stab portability"]/@title' 'This is supported on crate feature `sync` only'
10 // @has 'foo/struct.Foo.html'
11 // @has '-' '//*[@class="stab portability"]' 'sync'
12 #[doc(cfg(feature = "sync"))]
13 #[doc(cfg(feature = "sync"))]
16 // @has 'foo/bar/index.html'
17 // @matches '-' '//*[@class="module-item"]//*[@class="stab portability"]' '^sync$'
18 // @has '-' '//*[@class="module-item"]//*[@class="stab portability"]/@title' 'This is supported on crate feature `sync` only'
20 // @has 'foo/bar/struct.Bar.html'
21 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync only.'
22 #[doc(cfg(feature = "sync"))]
24 #[doc(cfg(feature = "sync"))]
28 // @has 'foo/baz/index.html'
29 // @matches '-' '//*[@class="module-item"]//*[@class="stab portability"]' '^sync and send$'
30 // @has '-' '//*[@class="module-item"]//*[@class="stab portability"]/@title' 'This is supported on crate features `sync` and `send` only'
32 // @has 'foo/baz/struct.Baz.html'
33 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate features sync and send only.'
34 #[doc(cfg(all(feature = "sync", feature = "send")))]
36 #[doc(cfg(feature = "sync"))]
40 // @has 'foo/qux/struct.Qux.html'
41 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate features sync and send only.'
42 #[doc(cfg(feature = "sync"))]
44 #[doc(cfg(all(feature = "sync", feature = "send")))]
48 // @has 'foo/quux/index.html'
49 // @matches '-' '//*[@class="module-item"]//*[@class="stab portability"]' '^sync and send and foo and bar$'
50 // @has '-' '//*[@class="module-item"]//*[@class="stab portability"]/@title' 'This is supported on crate feature `sync` and crate feature `send` and `foo` and `bar` only'
52 // @has 'foo/quux/struct.Quux.html'
53 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send and foo and bar only.'
54 #[doc(cfg(all(feature = "sync", feature = "send", foo)))]
56 #[doc(cfg(all(feature = "send", feature = "sync", bar)))]