Skip to content

Commit 1cb7fac

Browse files
Update rustdoc tests
1 parent f36357f commit 1cb7fac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/rustdoc/doc-cfg-hide.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![crate_name = "oud"]
2-
#![feature(doc_auto_cfg, doc_cfg, doc_cfg_hide)]
2+
#![feature(doc_auto_cfg, doc_cfg, doc_cfg_hide, no_core)]
33

4-
#![doc(cfg_hide(feature = "solecism"))]
4+
#![doc(auto_cfg(hide(feature = "solecism")))]
55

66
//@ has 'oud/struct.Solecism.html'
77
//@ count - '//*[@class="stab portability"]' 0

tests/rustdoc/doc-cfg-implicit-gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
#![crate_name = "xenogenous"]
33

44
//@ has 'xenogenous/struct.Worricow.html'
5-
//@ count - '//*[@class="stab portability"]' 0
5+
//@ count - '//*[@class="stab portability"]' 1
66
#[cfg(feature = "worricow")]
77
pub struct Worricow;

0 commit comments

Comments
 (0)