summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/doctest-cfg-feature-30252.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/doctest-cfg-feature-30252.rs')
-rw-r--r--tests/rustdoc/doctest-cfg-feature-30252.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/rustdoc/doctest-cfg-feature-30252.rs b/tests/rustdoc/doctest-cfg-feature-30252.rs
deleted file mode 100644
index ceb8076fe..000000000
--- a/tests/rustdoc/doctest-cfg-feature-30252.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// compile-flags:--test --cfg feature="bar"
-
-// https://github.com/rust-lang/rust/issues/30252
-#![crate_name="issue_30252"]
-
-/// ```rust
-/// assert_eq!(cfg!(feature = "bar"), true);
-/// ```
-pub fn foo() {}