4 // @has 'foo/index.html'
5 // @matches '-' '//*[@class="item-left module-item"]//*[@class="stab portability"]' '^sync$'
6 // @has '-' '//*[@class="item-left module-item"]//*[@class="stab portability"]/@title' 'Available on crate feature `sync` only'
8 // @has 'foo/struct.Foo.html'
9 // @has '-' '//*[@class="stab portability"]' 'sync'
10 #[doc(cfg(feature = "sync"))]
11 #[doc(cfg(feature = "sync"))]
12 /// my feature sync struct
15 // @has 'foo/bar/index.html'
16 // @has '-' '//*[@class="stab portability"]' 'Available on crate feature sync only.'
17 #[doc(cfg(feature = "sync"))]
19 // @has 'foo/bar/struct.Bar.html'
20 // @has '-' '//*[@class="stab portability"]' 'Available on crate feature sync only.'
21 #[doc(cfg(feature = "sync"))]
25 // @has 'foo/baz/index.html'
26 // @has '-' '//*[@class="stab portability"]' 'Available on crate features sync and send only.'
27 #[doc(cfg(all(feature = "sync", feature = "send")))]
29 // @has 'foo/baz/struct.Baz.html'
30 // @has '-' '//*[@class="stab portability"]' 'Available on crate features sync and send only.'
31 #[doc(cfg(feature = "sync"))]
35 // @has 'foo/qux/index.html'
36 // @has '-' '//*[@class="stab portability"]' 'Available on crate feature sync only.'
37 #[doc(cfg(feature = "sync"))]
39 // @has 'foo/qux/struct.Qux.html'
40 // @has '-' '//*[@class="stab portability"]' 'Available on crate features sync and send only.'
41 #[doc(cfg(all(feature = "sync", feature = "send")))]
45 // @has 'foo/quux/index.html'
46 // @has '-' '//*[@class="stab portability"]' 'Available on crate feature sync and crate feature send and foo only.'
47 #[doc(cfg(all(feature = "sync", feature = "send", foo)))]
49 // @has 'foo/quux/struct.Quux.html'
50 // @has '-' '//*[@class="stab portability"]' 'Available on crate feature sync and crate feature send and foo and bar only.'
51 #[doc(cfg(all(feature = "send", feature = "sync", bar)))]