diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-doc_cfg.rs')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-doc_cfg.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-doc_cfg.rs b/tests/ui/feature-gates/feature-gate-doc_cfg.rs new file mode 100644 index 000000000..b12b8a105 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-doc_cfg.rs @@ -0,0 +1,2 @@ +#[doc(cfg(unix))] //~ ERROR: `#[doc(cfg)]` is experimental +fn main() {} |