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 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync only.'
18 #[doc(cfg(feature = "sync"))]
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"))]
26 // @has 'foo/baz/index.html'
27 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate features sync and send only.'
28 #[doc(cfg(all(feature = "sync", feature = "send")))]
30 // @has 'foo/baz/struct.Baz.html'
31 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate features sync and send only.'
32 #[doc(cfg(feature = "sync"))]
36 // @has 'foo/qux/index.html'
37 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync only.'
38 #[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(all(feature = "sync", feature = "send")))]
46 // @has 'foo/quux/index.html'
47 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send and foo only.'
48 #[doc(cfg(all(feature = "sync", feature = "send", foo)))]
50 // @has 'foo/quux/struct.Quux.html'
51 // @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send and foo and bar only.'
52 #[doc(cfg(all(feature = "send", feature = "sync", bar)))]