about summary refs log tree commit diff
path: root/src/test/rustdoc/doc-cfg-hide.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-01-16 21:03:16 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-01-20 22:05:26 +0100
commitcaec4a23f201ff4e2bbfc3f8fd8b97e5e64fc20d (patch)
tree4753d4ed25f5af7af392f7d06bb3b7e893055ef4 /src/test/rustdoc/doc-cfg-hide.rs
parentfd005f53c204136732c446dc476afc1266de730b (diff)
downloadrust-caec4a23f201ff4e2bbfc3f8fd8b97e5e64fc20d.tar.gz
rust-caec4a23f201ff4e2bbfc3f8fd8b97e5e64fc20d.zip
Extra cfg_hide a bit to handle inner cfgs
Diffstat (limited to 'src/test/rustdoc/doc-cfg-hide.rs')
-rw-r--r--src/test/rustdoc/doc-cfg-hide.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/doc-cfg-hide.rs b/src/test/rustdoc/doc-cfg-hide.rs
index 424fa6d6a91..636957fe998 100644
--- a/src/test/rustdoc/doc-cfg-hide.rs
+++ b/src/test/rustdoc/doc-cfg-hide.rs
@@ -26,7 +26,7 @@ pub struct Hyperdulia;
 
 // @has 'oud/struct.Oystercatcher.html'
 // @count   - '//*[@class="stab portability"]' 1
-// @matches - '//*[@class="stab portability"]' 'crate features solecism and oystercatcher'
+// @matches - '//*[@class="stab portability"]' 'crate feature oystercatcher only'
 // compile-flags:--cfg feature="oystercatcher"
 #[cfg(all(feature = "solecism", feature = "oystercatcher"))]
 pub struct Oystercatcher;