|
4 | 4 | #![feature(doc_cfg)] |
5 | 5 |
|
6 | 6 | // @has 'foo/struct.Foo.html' |
7 | | -// @has '-' '//*[@class="stab portability"]' 'This is supported on feature="sync" only.' |
| 7 | +// @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync only.' |
8 | 8 | #[doc(cfg(feature = "sync"))] |
9 | 9 | #[doc(cfg(feature = "sync"))] |
10 | 10 | pub struct Foo; |
11 | 11 |
|
12 | 12 | // @has 'foo/bar/struct.Bar.html' |
13 | | -// @has '-' '//*[@class="stab portability"]' 'This is supported on feature="sync" only.' |
| 13 | +// @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync only.' |
14 | 14 | #[doc(cfg(feature = "sync"))] |
15 | 15 | pub mod bar { |
16 | 16 | #[doc(cfg(feature = "sync"))] |
17 | 17 | pub struct Bar; |
18 | 18 | } |
19 | 19 |
|
20 | 20 | // @has 'foo/baz/struct.Baz.html' |
21 | | -// @has '-' '//*[@class="stab portability"]' 'This is supported on feature="sync" and feature="send" only.' |
| 21 | +// @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send only.' |
22 | 22 | #[doc(cfg(all(feature = "sync", feature = "send")))] |
23 | 23 | pub mod baz { |
24 | 24 | #[doc(cfg(feature = "sync"))] |
25 | 25 | pub struct Baz; |
26 | 26 | } |
27 | 27 |
|
28 | 28 | // @has 'foo/qux/struct.Qux.html' |
29 | | -// @has '-' '//*[@class="stab portability"]' 'This is supported on feature="sync" and feature="send" only.' |
| 29 | +// @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send only.' |
30 | 30 | #[doc(cfg(feature = "sync"))] |
31 | 31 | pub mod qux { |
32 | 32 | #[doc(cfg(all(feature = "sync", feature = "send")))] |
33 | 33 | pub struct Qux; |
34 | 34 | } |
35 | 35 |
|
36 | 36 | // @has 'foo/quux/struct.Quux.html' |
37 | | -// @has '-' '//*[@class="stab portability"]' 'This is supported on feature="sync" and feature="send" and foo and bar only.' |
| 37 | +// @has '-' '//*[@class="stab portability"]' 'This is supported on crate feature sync and crate feature send and foo and bar only.' |
38 | 38 | #[doc(cfg(all(feature = "sync", feature = "send", foo)))] |
39 | 39 | pub mod quux { |
40 | 40 | #[doc(cfg(all(feature = "send", feature = "sync", bar)))] |
|
0 commit comments