summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/private-item-doc-test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/private-item-doc-test.rs')
-rw-r--r--src/test/rustdoc-ui/private-item-doc-test.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/rustdoc-ui/private-item-doc-test.rs b/src/test/rustdoc-ui/private-item-doc-test.rs
deleted file mode 100644
index 1a3d6cc63..000000000
--- a/src/test/rustdoc-ui/private-item-doc-test.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-#![deny(rustdoc::private_doc_tests)]
-
-mod foo {
- /// private doc test
- ///
- /// ```
- /// assert!(false);
- /// ```
- //~^^^^^ ERROR documentation test in private item
- fn bar() {}
-}